forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: peakoverload on August 02, 2004, 03:47:06 pm

Title: [Solved]: Adding Text Below Film Strip
Post by: peakoverload on August 02, 2004, 03:47:06 pm
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.
Title: Re: Adding Text Below Film Strip
Post by: Joachim Müller on August 02, 2004, 03:55:19 pm
to modify your film strip, edit themes/classic/theme.php, find
Code: [Select]
// 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
Title: Re: Adding Text Below Film Strip
Post by: peakoverload on August 02, 2004, 04:11:51 pm
Excellent, cheers GauGau