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: <DIV ID="blahblah"> in template causes tags not to work  (Read 4044 times)

0 Members and 1 Guest are viewing this topic.

Jak

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
<DIV ID="blahblah"> in template causes tags not to work
« on: March 31, 2006, 11:49:39 am »

I'm creating a template with DIV tags instead of tables, and I ran into a problem.

In my template.html I have the following:

Code: [Select]
<div id="leftside"><p>{SYS_MENU}<br />{SUB_MENU}</p></div>
When this is onscreen I don't see the menu, I see:

Code: [Select]
{SYS_MENU}
{SUB_MENU}

The CSS for the "leftside" id is:

Code: [Select]
div#leftside{float:left;width:124px;margin-left:-750px}
If I put the menu tags anywhere else in the template they work fine.  Any ideas?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: <DIV ID="blahblah"> in template causes tags not to work
« Reply #1 on: March 31, 2006, 06:37:39 pm »

Post a link!
Logged

Jak

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: <DIV ID="blahblah"> in template causes tags not to work
« Reply #2 on: April 04, 2006, 04:30:25 am »

The theme's not done!  The site's not live! heh
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: <DIV ID="blahblah"> in template causes tags not to work
« Reply #3 on: April 04, 2006, 06:26:16 am »

if your custom theme can't be previewed online, then zip your local dev copy and attach it to your posting. Wrapping the menu tokens into a div container won't break them, but putting them after the {GALLERY} token will.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.