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

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

[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