Numbers still below thumbnails in most viewed Numbers still below thumbnails in most viewed
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Numbers still below thumbnails in most viewed

Started by marian, July 03, 2005, 01:43:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marian

I've just upgraded 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.

Nibbler

Most views shoes the views, it's coded that way. You'd need to modify include/functions.inc.php

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

and blank the caption

$caption = '';

marian