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

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

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