topn topn
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

topn

Started by vaughan198, March 08, 2005, 07:06:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vaughan198

Is it possilbe to edit the most viewed block on the main page so that it does not display how many times the image has been displayed?
Many Thanks
WV

Joachim Müller

(not tested): edit include/functions.inc.php, find$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);and comment the line out by putting a double slash in front of it.

Joachim

vaughan198

thanks for the suggestion. didn't seem to work. any other suggestions?

Joachim Müller

search include/functions.inc.php for 'n_views'and comment out the line that contains the code.

Joachim