Adding my own footer Adding my own footer
 

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

Adding my own footer

Started by iKwak, May 31, 2004, 04:32:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iKwak

How would you add your own footer on every page of the gallery? TIA.  :)

Joachim Müller

http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader

GauGau

P.S. This has been asked very often before (that's why we put it into the faq). Next time, please read the docs and faq, then search the board and only if you don't find and answer there post on this board.

iKwak

Thanks for the link gaugau.
I've checked both the style and template files but I can not find where the footer tag is, so that I can add my own footer on top of the coppermine footer.



Also, on the title of the gallery, how do I remove the "Welcome !" text?

Joachim Müller

just edit themes/yourtheme/template.html and insert your footer text right after {GALLERY}
Telling you how to insert text before the "Powered by Coppermine" tag would mean telling you how to get rid of it. Although it is possible (technically speaking), you mustn't do that. If you must have some custom text before the "Powered by Coppermine" tag, you'll have to find out by yourself.

GauGau

P.S. Only one question per thread! To change the "welcome" message, edit lang/english.php (or whatever language you're using) and find  'welcome' => 'Welcome !', - edit accordingly...

iKwak

Quote from: GauGau on May 31, 2004, 10:11:32 AM
just edit themes/yourtheme/template.html and insert your footer text right after {GALLERY}
Telling you how to insert text before the "Powered by Coppermine" tag would mean telling you how to get rid of it. Although it is possible (technically speaking), you mustn't do that. If you must have some custom text before the "Powered by Coppermine" tag, you'll have to find out by yourself.

GauGau

P.S. Only one question per thread! To change the "welcome" message, edit lang/english.php (or whatever language you're using) and find   'welcome' => 'Welcome !', - edit accordingly...

I didn't mean before the "Powered by Coppermine," I should have said "above" the text.
I can assure you that I leave the credit in tact and the site is located at Cal Poly Pomona Gallery. I'll check out the template.html page first.

Casper

You can also use the 'anycontent.php' for this.

Edit the file to show the content you want, and then add 'anycontent' at the end of the 'contents of main page' in config.
It will then be shown under the gallery, but above the notice.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here