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: Adding my own footer  (Read 4219 times)

0 Members and 1 Guest are viewing this topic.

iKwak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Adding my own footer
« on: May 31, 2004, 04:32:28 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding my own footer
« Reply #1 on: May 31, 2004, 07:44:36 am »

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

iKwak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Adding my own footer
« Reply #2 on: May 31, 2004, 08:29:41 am »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding my own footer
« Reply #3 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
Code: [Select]
 'welcome' => 'Welcome !', - edit accordingly...
Logged

iKwak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Adding my own footer
« Reply #4 on: May 31, 2004, 06:29:20 pm »

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
Code: [Select]
  '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

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Adding my own footer
« Reply #5 on: May 31, 2004, 06:41:38 pm »

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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 18 queries.