[Solved]: Showing #of Views Under Title [Solved]: Showing #of Views Under Title
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Showing #of Views Under Title

Started by blazer380, August 11, 2004, 07:31:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blazer380

How can I change so that the # of Views is listed under the Title? Right now it looks like this:

QuoteBenny Benassi - Satisfaction
(Original Mix) - 14 views

How can I change it to make sure there is a <BR > after Title so it looks like:

QuoteBenny Benassi - Satisfaction
(Original Mix)
               14 views

Joachim Müller

edit include/functions.inc.php, find            if ($CONFIG['views_in_thumbview']){
               if ($rowset[$key]['title']){$caption .= "&nbsp;&ndash;&nbsp;";}
            $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
            }
                 $caption .= "</span>";
and add a <br /> tag, so it looks like this:            if ($CONFIG['views_in_thumbview']){
               if ($rowset[$key]['title']){$caption .= "<br />";}
            $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
            }
                 $caption .= "</span>";

HTH

GauGau

blazer380

thank you very much, works great!!!