Headers not showing up in TwentyTen theme Headers not showing up in TwentyTen theme
 

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

Headers not showing up in TwentyTen theme

Started by pols1337, July 08, 2011, 06:56:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pols1337

Hi,

I have a header file (header.php) which I would like to use with the TwentyTen theme.  The filepath should be correct since it's the same in another gallery, but it won't show up in TwentyTen.   :(


Αndré

I guess you're using the custom header include option from the Coppermine settings? Please post a link to your gallery.

pols1337

Yup, I am using the Custom Header option in the Configuration settings.

I was playing around with the twentyten theme this weekend, and I think I figured it out!  It turns out the "template.html" file never included a {CUSTOM_HEADER} section to even include the header.  So, with my limited HTML ability, I manually added it in and ... it worked!   ;D  ;D


{META} {JAVASCRIPT} [b]{CUSTOM_HEADER}[/b]
{GAL_NAME}
{GAL_DESCRIPTION}
photo frame
{SYS_MENU} {SUB_MENU} {ADMIN_MENU}
{GALLERY}
{GAL_NAME}
{CUSTOM_FOOTER}{CREDITS}



pols1337

#3
Ignore the bold [b] tags around the Custom Header, I was trying to do that to emphasize the CUSTOM_HEADER but apparently the bulletin board doesn't like bbcode within coding text.


//Edit by André: made the [b] tag visible instead of applying it to the rest of the post