forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Thrick on February 29, 2008, 12:31:33 am

Title: [Solved]: Modifying the footer
Post by: Thrick on February 29, 2008, 12:31:33 am
Greetings,

Before I start, I have searched the support forums for an answer to my problem. ;)

I am using Coppermine version 1.4.16 with a fresh mod install from Stramm.  Since my custom footer had been replaced, I'm looking to fix it the way it had been before.  Each time I add my information, it's far below the origional footer.  The code below is producing the following screenshot:

from /themes/classic/template.php
Code: [Select]
<body>
  {CUSTOM_HEADER}
  <table width="100%" border="0" cellpadding="20" cellspacing="20">
    <tr>
      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              <a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
            </td>
            <td width="100%" align="center">
              <h1>{GAL_NAME}</h1>
              <h3>{GAL_DESCRIPTION}</h3><br />
</td>
  </tr>
  <tr>
<td width="100%" align="center" colspan="2">
  <br />
              {SYS_MENU} <br /> {SUB_MENU}
  <br /><br /><span style="float:right">{LOGIN_FORM}</span>
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center" valign="top">
              {LANGUAGE_SELECT_FLAGS}
            </td>
          </tr>
          <tr>
            <td align="center" valign="top">
              {THEME_SELECT_LIST}
              {LANGUAGE_SELECT_LIST}
            </td>
          </tr>
        </table>
        <img src="images/spacer.gif" width="1" height="15" alt="" />
        <br />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" valign="top">
              {ADMIN_MENU}
              {GALLERY}
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
{CUSTOM_FOOTER}{VANITY}
<p align=CENTER>livn4metal.com</p>
</body>
</html>
Which results in:
[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

How can I change the actual footer without having a second footer?  For testing, I even removed the {CUSTOM_FOOTER} and {VANITY} from template.php and the footer was still there!!  What is producing this footer?

Thank you for any help available, and thank you Stramm for your hard work.

(my image gallery is not safe for work, but if it is required, I will provide the link)

-Thrick
Title: Re: Modifying the footer
Post by: Nibbler on February 29, 2008, 12:47:33 am
Give your footer a class and use valid markup, eg.

Code: [Select]
<p class="myfooter">livn4metal.com</p>
then add a new class to style.css like this:

Code: [Select]
.myfooter {
    text-align: center;
    margin-top: -40px;
}
Title: Re: Modifying the footer
Post by: Thrick on February 29, 2008, 01:51:47 am
That helps, thank you.

But I'm still confused as to where the footer is being pulled from, since it's not coming from template.php

Thanks again,

-Thrick
Title: Re: Modifying the footer
Post by: Nibbler on February 29, 2008, 02:13:45 am
It's not controlled by the theme.