[Solved]: customizing thumbnail view? [Solved]: customizing thumbnail view?
 

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]: customizing thumbnail view?

Started by lnguyen, April 25, 2004, 11:19:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lnguyen

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

Ocean

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.

Joachim Müller

in include/functions.inc.php, find                 // 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

Ocean


lnguyen