Advanced search  

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

Pages: [1]   Go Down

Author Topic: Custom Header  (Read 3630 times)

0 Members and 1 Guest are viewing this topic.

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Custom Header
« 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











« Last Edit: January 05, 2005, 06:40:42 pm by TranzNDance »
Logged

Nibbler

  • Guest
Re: Custom Header
« Reply #1 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.
Logged

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: Custom Header
« Reply #2 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>
Logged

Nibbler

  • Guest
Re: Custom Header
« Reply #3 on: January 05, 2005, 06:06:10 pm »

I don't see it in your template.html.
Logged

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: Custom Header
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.