Advanced search  

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

Pages: [1]   Go Down

Author Topic: Themes.php code  (Read 3146 times)

0 Members and 1 Guest are viewing this topic.

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Themes.php code
« 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 -->
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Themes.php code
« Reply #1 on: May 09, 2005, 08:14:25 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Themes.php code
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.