forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: rubbersoul on May 09, 2005, 08:01:00 pm

Title: Themes.php code
Post by: rubbersoul on May 09, 2005, 08:01:00 pm
I put this little piece of code in themes.php and for some reason it won't show up????

<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b><a href="http://www.mysite.com">HOME</a> | <a href="http://www.mysite.com/about">ABOUT</a>
| <a href="http://www.mysite.com/contact">CONTACT</a> | <a href="http://www.mysite.com/site">SITE
MAP</a> | <a href="http://www.mysite.com/policy">POLICY</a></b></span></td>
      </tr>
<!-- END footer -->
Title: Re: Themes.php code
Post by: Hein Traag on May 09, 2005, 08:14:25 pm
Try using the file anycontent.php for adding your desired content.
Title: Re: Themes.php code
Post by: Joachim Müller on May 10, 2005, 09:48:31 am
using anycontent has the drawback of your custom code only coming up on the index page. If you want it to apear on all of your coppermine pages, you should use a custom footer. If the custom footer is meant to contain dynamc data, you will have to modify theme.php in another way (which has been described quite often, search for "custom footer", but is not that easy to accomplish for newbies). As you're trying to add static content, just edit themes/yourtheme/template.html and add your piece of code there.