Create features that will appear on every page Create features that will appear on every page
 

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]

Main Menu

Create features that will appear on every page

Started by madwhitehat, January 16, 2007, 06:15:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

madwhitehat

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.

Joachim Müller

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"

madwhitehat

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

Joachim Müller

Quote from: madwhitehat on January 16, 2007, 06:22:57 PMIs 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.