forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: marian on July 03, 2005, 01:43:32 pm

Title: Numbers still below thumbnails in most viewed
Post by: marian on July 03, 2005, 01:43:32 pm
I've just upgraded www.bymnews.com/photos (http://www.bymnews.com/photos)(having put it off for ages), so first a thank you for the upgrade and the fool proof instructions!
I just have one small prob. I cant get rid of the number of views under the thumnails in Most Viewed, even though I have been into Config and made sure Display no of views below thumbnail is set to NO.
Hope you can help.
Title: Re: Numbers still below thumbnails in most viewed
Post by: Nibbler on July 03, 2005, 02:17:13 pm
Most views shoes the views, it's coded that way. You'd need to modify include/functions.inc.php

Code: [Select]
$caption = "<span class=\"thumb_caption\">".sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
and blank the caption

Code: [Select]
$caption = '';
Title: Re: Numbers still below thumbnails in most viewed
Post by: marian on July 03, 2005, 02:40:29 pm
Many thanks, tiz done! :)