Edit Footer? Edit Footer?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Edit Footer?

Started by vixenerica, October 03, 2005, 12:51:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vixenerica

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

Thanks!

Nibbler

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

vixenerica

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>



Joachim Müller

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
  </center>and add before it (in a new line)<a href="/link/to/my/page.html">my custom link</a>