Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Showing #of Views Under Title  (Read 3333 times)

0 Members and 1 Guest are viewing this topic.

blazer380

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
[Solved]: Showing #of Views Under Title
« on: August 11, 2004, 07:31:36 pm »

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

Quote
Benny Benassi - Satisfaction
(Original Mix) - 14 views

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

Quote
Benny Benassi - Satisfaction
(Original Mix)
                14 views
« Last Edit: August 12, 2004, 05:56:28 pm by blazer380 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Showing #of Views Under Title
« Reply #1 on: August 12, 2004, 05:40:07 am »

edit include/functions.inc.php, find
Code: [Select]
            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:
Code: [Select]
            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
Logged

blazer380

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Showing #of Views Under Title
« Reply #2 on: August 12, 2004, 05:55:54 pm »

thank you very much, works great!!!
Logged

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: [Solved]: Showing #of Views Under Title
« Reply #3 on: November 26, 2005, 03:10:27 am »

Thanks.
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.