Themes.php code Themes.php code
 

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

Themes.php code

Started by rubbersoul, May 09, 2005, 08:01:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rubbersoul

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

Hein Traag

Try using the file anycontent.php for adding your desired content.

Joachim Müller

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.