forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: rvblog on January 05, 2005, 05:50:50 pm

Title: Custom Header
Post by: rvblog on January 05, 2005, 05:50:50 pm
Hopefully, I'm not limited to just 1 question a day - I could really use the

following information as well - then I can spend the rest of the day trying to get all of

this to work properly.


I want to use my "WordPress" header and footer files and embed Coppermine into my

website.


In the Coppermine FAQ (http://coppermine.sourceforge.net/faq.php#customHeader) under the heading:


"How do I add a custom header/footer to Coppermine?"

It says:

"You will need to add a new field {CUSTOM_HEADER} in your template.html file."



Changing the *.php file directions seems clear and I've done that.



My problem is:

I don't know how or where to add the {CUSTOM_HEADER} section in my template file -

I could use some expert advice here.

Thanks











Title: Re: Custom Header
Post by: Nibbler on January 05, 2005, 05:53:55 pm
You put it where you want the content to appear, you will need some basic html knowledge for that. Try just after the <body> tag to start with.
Title: Re: Custom Header
Post by: rvblog on January 05, 2005, 06:01:34 pm
Sorry for posting in the wrong section Nibbler - I wasn't thinking


Regarding your response:


Do I just do this:
(I'm sure I tried this and it didn't work)

<body>

   <div id="custom">
        {CUSTOM_HEADER}
   </div>

etc
etc

</body>
Title: Re: Custom Header
Post by: Nibbler on January 05, 2005, 06:06:10 pm
I don't see it in your template.html (http://www.rvadventure.ca/photos/themes/anime/template.html).
Title: Re: Custom Header
Post by: rvblog on January 05, 2005, 06:27:35 pm
I removed the code because the it did not work

Anyways, thanks

When I searched earlier I must have had a typo in the search field cause I got no results

I searched again and found an excellent answer by Gau Gau on what changes need to be done in the template file

Problem solved