coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: nikolas22t on August 29, 2006, 02:36:12 PM

Title: Change background color to a specific point
Post by: nikolas22t 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 )
Title: Re: Change background color to a specific point
Post by: Joachim Müller 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 // 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?>and edit accordingly.