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: Edit Footer?  (Read 4037 times)

0 Members and 1 Guest are viewing this topic.

vixenerica

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 12
    • My Twisted Logic
Edit Footer?
« on: October 03, 2005, 12:51:08 am »

What file do I have to edit to add something to the footer of the gallery?

Thanks!
Logged

Nibbler

  • Guest
Re: Edit Footer?
« Reply #1 on: October 03, 2005, 12:58:26 am »

Add what you like towards the end of your theme's template.html file.
Logged

vixenerica

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 12
    • My Twisted Logic
Re: Edit Footer?
« Reply #2 on: October 03, 2005, 01:06:29 am »

I had just wanted a link back to my main site...

This is my theme code:

<code>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>My Twisted Logic Gallery &raquo;</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />

<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT">
<META NAME="DISTRIBUTION" CONTENT="GLOBAL">
<META NAME="AUTHOR" CONTENT="{TITLE} gallery">
<META NAME="COPYRIGHT" CONTENT="Copyright CPG-Themes 2004 by DaMysterious">
<META NAME="KEYWORDS" CONTENT="Free, FREE, free, 3d, 3d pictures, erotic art, pinups, artist, cartoon, anime, manga, scenery, scenic, artistic, babes, supermodel, ocean, underwater, photos, movies, animals, space, aircraft, nature, tropical">
<META NAME="DESCRIPTION" CONTENT="{TITLE} is your ultimate place to get free desktop wallpapers, images, pictures, and photos from various categories easily!">
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
<META NAME="REVISIT-AFTER" CONTENT="1 DAYS">
<META NAME="RATING" CONTENT="GENERAL">
<META NAME="GENERATOR" CONTENT="Coppermine v1.3 - Copyright 2004 by http://coppermine.sourceforge.net/board/">

{META}
<link rel="stylesheet" href="themes/anime/style.css" />

<link rel="shortcut icon" href="favicon.ico">
<link rel="help" href="faq.php" title="The {TITLE} FAQ">
<link rel="index" href="index.php">
<link rel="copyright" href="http://coppermine.sourceforge.net/">
<link rel="author" href="http://coppermine.sourceforge.net/team/">
<link rel="search" href="search.php">

<script type="text/javascript" src="scripts.js"></script></head>
<body bgcolor="#E6E6E6" link="#000000" vlink="#000000" alink="#000000" background="images/back.gif">
<div align="center">
  <center>
    <table border="1" cellpadding="0" width="887" bordercolor="#B8B8C0" style="border-collapse: collapse" cellspacing="3">
      <tr>
        <td align="center" valign="top" width="887"><p align="center"><img border="0" src="themes/anime/images/logo.jpg" width="905" height="138"></td>
      </tr>
      <tr>
        <td width="887"><font face="Arial" size="4" color="#000000"><strong>{GAL_NAME}
           {GAL_DESCRIPTION}</strong></font> </td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#E6E6E6"><div align="left"><center>{MAIN_MENU} <center>
          </div></td>
      </tr>
      <tr>
        <td valign="top" width="302" bgcolor="#E6E6E6">
      <tr>
        <td>{ADMIN_MENU}</td>
      </tr>
      <tr>
        <td>{GALLERY}<br> <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr align="center">
              <td>{LANGUAGE_SELECT_FLAGS}</td>
              <td>{LANGUAGE_SELECT_LIST}</td>
              <td>{THEME_SELECT_LIST}</td>
            </tr>
          </table></td>
      </tr></td></tr>
    </table>
  </center>
</div>
</body>
</html>
</code>


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Edit Footer?
« Reply #3 on: October 03, 2005, 08:07:38 am »

That's just plain html - in your code, just add the link in the same way as you would do on any regular html page. For example, edit your template.html, find
Code: [Select]
  </center>and add before it (in a new line)
Code: [Select]
<a href="/link/to/my/page.html">my custom link</a>
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.