[Solved]: Adding Text Below Film Strip [Solved]: Adding Text Below Film Strip
 

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]: Adding Text Below Film Strip

Started by peakoverload, August 02, 2004, 03:47:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peakoverload

Is it possible to add some text below the film strip? I would like to add something like "Please remember to cast your vote" or "Please remember to comment on this photo" etc. I thought it would have to do in displayimage.php but I couldnt work out where.

I also wondered if it is possible to display the text in a 1 cell table with the same background colours etc as the theme I'm using (I'm using the default theme) so that it looks like part of the site and not just a crudly hacked in bit of text.

Any help greatly appreciated.

Joachim Müller

to modify your film strip, edit themes/classic/theme.php, find// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">
          {THUMB_STRIP}
        </td>
        </tr>
        <tr>
         <td valign="top" background='themes/classic/images/tile.gif' align="center" height='30'>&nbsp;</td>
        </tr>
and add another table row with your content.

GauGau

peakoverload