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: background image on custom header ???  (Read 3975 times)

0 Members and 1 Guest are viewing this topic.

zegorg

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • Hi !!!
background image on custom header ???
« on: January 02, 2007, 04:24:37 pm »

Hi everyone !!!
I'm very new to html, php and all, and now that I've installed and set my coppermine gallery,
I would like to use the custom header feature to add a navigation of my own with links to other pages on my site .
My problem is: is it possible to have a background image or some kind of fancy layout on the header ?
I understand that I can't use "head" or "body" tags and I'm not proficient enought to know how to do otherwise ...
Thank you for your help and a big "hurra" to the dev team...cpg is amazing !!!
« Last Edit: January 04, 2007, 09:02:33 am by GauGau »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: background image on custom header ???
« Reply #1 on: January 02, 2007, 05:10:55 pm »

You are correct that you can't use <head> or <body> tags in the custom header. That's because the custom header is included with these tags for the gallery page that it appears on however you can include all other html coding you'd like. You can use a <table> or <div> to hold your background image and even use css to control it. Google table or div background and you'll be on your way.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

zegorg

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • Hi !!!
Re: background image on custom header ???
« Reply #2 on: January 02, 2007, 05:29:57 pm »

Thank you very much for your swift reply, Gizmo .
I'll follow your advice and use a table ...
Cheers ! :) :) :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: background image on custom header ???
« Reply #3 on: January 04, 2007, 09:02:17 am »

Imo static content (like a background image) should not go into the custom header include. It's just a matter of layout and therefor should be done using template.html and style.css.
Logged

mischafan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: background image on custom header ???
« Reply #4 on: January 05, 2007, 11:22:48 am »

im kind of in the same boat
id like to a add a layout/pic to my header
do i use a table for that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: background image on custom header ???
« Reply #5 on: January 06, 2007, 10:46:12 am »

Just edit themes/yourtheme/template.html. If you need more help, please start a thread of your own, posting a link to your coppermine-driven gallery and some more information what you actually want to accomplish.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.