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: Counter  (Read 2074 times)

0 Members and 1 Guest are viewing this topic.

Emos

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://www.calamo.it/album
Counter
« on: April 05, 2004, 09:44:12 pm »

How can I add a piece of code to be shown in each page of the album?

Thanx in advance
E
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Counter
« Reply #1 on: April 05, 2004, 10:51:01 pm »

static html (like <a href="foo.htm">my_link</a>) goes into themes/yourtheme/template.html
Dynamic content (like <?php print $foo; ?>) goes into theme.php.
PHP-includes go into theme.php as well (check the faq for custom header/footer).
Another option is the usage of anycontent.php (refer to the documentation).
For details you'll have to be more specific on what you exactly want to do.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 14 queries.