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: Create features that will appear on every page  (Read 2663 times)

0 Members and 1 Guest are viewing this topic.

madwhitehat

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Create features that will appear on every page
« on: January 16, 2007, 06:15:09 pm »

There are several features that I would like to have appear on every page of the photo gallery.

- Home button to link back to original index.html
- A Google search bar
- A message at the bottom of the page
- A banner linking to a forum.

My question is, what file/files to I edit to make this happen? I don't know PHP very well, but I assume there is a sheet somewhere in my directory structure that determines what shows up on every page. Do I have to edit a skin or template? Any help you can provide would be much appreciated. Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Create features that will appear on every page
« Reply #1 on: January 16, 2007, 06:19:37 pm »

themes/yourtheme/template.html is the file to edit. You might want to add your custom link as suggested in the docs, see "Name of your custom link"/"URL of your custom link"
Logged

madwhitehat

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Create features that will appear on every page
« Reply #2 on: January 16, 2007, 06:22:57 pm »

Is that it? Sorry to waste your time with a dumb question bro. Thanks for the quick response though.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Create features that will appear on every page
« Reply #3 on: January 16, 2007, 06:30:27 pm »

Is that it?
Yes. All the stuff you want to add is static HTML, which is per docs meant to go into themes/yourtheme/template.html. Dynamic (i.e. PHP-driven) stuff is suppossed to go into themes/yourtheme/theme.php.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.