Header file Header file
 

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]

Main Menu

Header file

Started by pols1337, July 08, 2012, 10:16:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pols1337

Hi,

I'm trying to create a custom header / footer file for my website.  It's supposed to be a horizontal navigation menu with drop-down menus.  Since I don't know any coding, I tried to copy Coppermine-Gallery.net's code from the page source to start out with.  The HTM file was then uploaded to my web account.  The gallery can access the header.htm file, but the gallery does not display drop-down menus. 

Can you advise? 

Website: http://adonismale.com/tg/

I've attached a screenshot and the HTM file. 

Thank you,
Joel / pols1337

Αndré

If you copy, you also have to copy the corresponding CSS file: http://coppermine-gallery.net/style/navigation.css

pols1337

Ahhhh!!!  I'm so happy I figured it out  ;D  I have never, ever had a header / footer file before so this is pretty exciting for me. 

Thank you Andre for pointing out the navigation.css stylesheet.  I would have never have known to look there.

See screenshot for working header!

Okay, a more advanced question:
Is there some way for me to toggle the menu for logged-out users (who will see "Register" and "Log-in") versus logged-in users (who will see "Log-out")?  I know you taught me before in anycontent.php to use if (!USER_ID) .  Will that work with all the div tags in the menu?

Joel / pols1337


Αndré