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: Change background color to a specific point  (Read 2140 times)

0 Members and 1 Guest are viewing this topic.

nikolas22t

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Change background color to a specific point
« on: August 29, 2006, 02:36:12 pm »

I want to change color to specific point of page to look like in the picture .. ( Film Area )
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Change background color to a specific point
« Reply #1 on: August 29, 2006, 11:20:32 pm »

edit themes/yourtheme/theme.php, find // HTML template for filmstrip display and edit the stuff underneath it accordingly. If this section doesn't exist in your custom theme, paste
Code: [Select]
// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
        </tr>
        <tr>
        <td valign="bottom" class="thumbnails" align="center">
          <table width="100%" cellspacing="0" cellpadding="3" border="0">
              <tr>
                 <td width="50%"></td>
                 {THUMB_STRIP}
                 <td width="50%"></td>
              </tr>
          </table>
        </td>
        </tr>
        <tr>
         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
        </tr>
<!-- BEGIN thumb_cell -->
                <td valign="top" align="center">
                                        <a href="{LINK_TGT}">{THUMB}</a>
                                        {CAPTION}
                                        {ADMIN_MENU}
                </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" align="center" >&nbsp;</td>
<!-- END empty_cell -->

EOT;
into a new line before
Code: [Select]
?>and edit accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.