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

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

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.