coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: madwhitehat on January 16, 2007, 06:15:09 PM

Title: Create features that will appear on every page
Post by: madwhitehat 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.
Title: Re: Create features that will appear on every page
Post by: Joachim Müller 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 (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme_custom_lnk_name)"/"URL of your custom link (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_language_custom_lnk_url)"
Title: Re: Create features that will appear on every page
Post by: madwhitehat 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.
Title: Re: Create features that will appear on every page
Post by: Joachim Müller on January 16, 2007, 06:30:27 PM
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.