[Solved]: Modifying the footer [Solved]: Modifying the footer
 

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]

Main Menu

[Solved]: Modifying the footer

Started by Thrick, February 29, 2008, 12:31:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thrick

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
<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

Nibbler

Give your footer a class and use valid markup, eg.

<p class="myfooter">livn4metal.com</p>

then add a new class to style.css like this:


.myfooter {
    text-align: center;
    margin-top: -40px;
}

Thrick

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

Nibbler

It's not controlled by the theme.