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]: Modifying the footer  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Thrick

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[Solved]: Modifying the footer
« 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
« Last Edit: February 29, 2008, 08:12:35 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Modifying the footer
« Reply #1 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;
}
Logged

Thrick

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Modifying the footer
« Reply #2 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
Logged

Nibbler

  • Guest
Re: Modifying the footer
« Reply #3 on: February 29, 2008, 02:13:45 am »

It's not controlled by the theme.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.