Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: customizing thumbnail view?  (Read 3339 times)

0 Members and 1 Guest are viewing this topic.

lnguyen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
[Solved]: customizing thumbnail view?
« on: April 25, 2004, 11:19:07 pm »

under the thumbnails, we get the title and the #of views... i'm just using the waterdrops theme, and wanted those two on separate lines.  

is there anyway to do this? from what I can tell, it's buried somewhere in the PHP, but i don't know where...

Thanks
Linh
« Last Edit: April 26, 2004, 04:50:46 pm by GauGau »
Logged

Ocean

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: customizing thumbnail view?
« Reply #1 on: April 26, 2004, 03:13:46 am »

Yes, I'd like to know this as well.  I don't like the count being right there.

I've gone through the template files and even started going through the main PHP files, but there's so many, I couldn't find where to do that.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: customizing thumbnail view?
« Reply #2 on: April 26, 2004, 08:08:46 am »

in include/functions.inc.php, find
Code: [Select]
                // Set picture caption
                if ($set_caption) foreach ($rowset as $key => $row){
                        $caption = ($rowset[$key]['title']||$rowset[$key]['hits']) ? "<span class=\"thumb_title\">".$rowset[$key]['title'].(($rowset[$key]['title'])?"-":"").sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits'])."</span>" : '';
and edit accordingly.

GauGau
Logged

Ocean

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: customizing thumbnail view?
« Reply #3 on: April 26, 2004, 12:58:37 pm »

Thank you very much!! ;D
Logged

lnguyen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: customizing thumbnail view?
« Reply #4 on: April 26, 2004, 02:48:15 pm »

thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.