Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Can't get the header right  (Read 3555 times)

0 Members and 1 Guest are viewing this topic.

Muurvaren

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Muurvaren, digitale fotografie
Can't get the header right
« on: June 11, 2006, 01:11:36 pm »

I’ am almost done with redesigning my website. The only problem I can't get right is the header. I’ am using film.gif as a repeating image (style.css), works fine. I want also the image 'camera.jpg' on top on the left. After reading the docs I understand to use a custom header witch I 'activated' in the admin/config (include\header.php). Several threats on this board describe similar problems but none of them have solved my problem.

I 'am lost, can someone give me some pointers?

http://www.muurvaren.nl/index.php
For clarification I attached an example what I want to accomplish and the header.php (renamed extention)

Thnx in advance!
« Last Edit: June 11, 2006, 11:13:00 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't get the header right
« Reply #1 on: June 11, 2006, 02:03:41 pm »

You only need header.php (the custom header) if you have dynamic content (stuff that keeps changing). As you only seem to add static content (a simpe graphic file), it's enough to edit themes/yourtheme/template.html and add it there (plain HTML only, no fancy php includes).
Watch your html markup, it's improperly nested - I recommend undoing your changes. All you have to do is edit themes/yourtheme/template.html (http://www.muurvaren.nl/themes/muurvaren/template.html in your case).
Logged

Muurvaren

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Muurvaren, digitale fotografie
Re: Can't get the header right
« Reply #2 on: June 11, 2006, 11:05:46 pm »

Watch your html markup, it's improperly nested - I recommend undoing your changes. All you have to do is edit themes/yourtheme/template.html.

Thanx GauGau, I removed the custom header and replaced the image.

http://www.muurvaren.nl/

Works for me right now! ;D
I will look into the improperly nested html-code later. Imo 'case closed!'

Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 15 queries.