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: Headers not showing up in TwentyTen theme  (Read 2797 times)

0 Members and 1 Guest are viewing this topic.

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Headers not showing up in TwentyTen theme
« on: July 08, 2011, 06:56:34 am »

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.   :(

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Headers not showing up in TwentyTen theme
« Reply #1 on: July 14, 2011, 10:02:34 am »

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

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Headers not showing up in TwentyTen theme
« Reply #2 on: July 15, 2011, 01:06:44 am »

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

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

 
Logged

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Headers not showing up in TwentyTen theme
« Reply #3 on: July 15, 2011, 01:07:49 am »

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
« Last Edit: July 15, 2011, 09:24:20 am by Αndré »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.