How do I add a top 50 counter to the bottom of Coppermine? How do I add a top 50 counter to the bottom of Coppermine?
 

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

How do I add a top 50 counter to the bottom of Coppermine?

Started by canadian, July 13, 2006, 10:36:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

canadian

Not sure how else to state this. I have figured out how to add buttons but I want to add some code under the footer of all pages. I am just not sure where to add the code so that it comes up on all of the pages.
It is a web counter, so as people visit our pages I move up in listings on another site.
I would guess that it goes in the include/themes.inc.php but is there a certain spot for it to go.
Thnaks.

Nibbler


Joachim Müller

Never edit include/themes.inc.php, under no circumstances.
Basically it depends how your custom script works: if it's plain HTML and/or JavaScript, just do as Nibbler suggested. If your script involves the use of PHP, use the custom_footer include (refer to Path to custom footer include)

Bendjamini

Please please please please please please please please please please please please please please please please please please first test before post... is that right ?

Nibbler... "Add it towards the end of your template.html." ... try this and you see that the councter will be show the end of every categories...

add the code in the end of index.php in the main copperimine directorie. the code will be displayed right of the "powered by MySQL" picture and will be showed in every page U click in coppermine gallery. Have fun.

Nibbler

That is completely wrong. Please don't give out bad advice on our support forum.