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]: Adding Text Below Film Strip  (Read 3901 times)

0 Members and 1 Guest are viewing this topic.

peakoverload

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
[Solved]: Adding Text Below Film Strip
« 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.
« Last Edit: August 02, 2004, 04:47:16 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Adding Text Below Film Strip
« Reply #1 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
Logged

peakoverload

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Adding Text Below Film Strip
« Reply #2 on: August 02, 2004, 04:11:51 pm »

Excellent, cheers GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.