<DIV ID="blahblah"> in template causes tags not to work <DIV ID="blahblah"> in template causes tags not to work
 

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

<DIV ID="blahblah"> in template causes tags not to work

Started by Jak, March 31, 2006, 11:49:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jak

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:

<div id="leftside"><p>{SYS_MENU}<br />{SUB_MENU}</p></div>

When this is onscreen I don't see the menu, I see:

{SYS_MENU}
{SUB_MENU}


The CSS for the "leftside" id is:

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?

Joachim Müller


Jak


Joachim Müller

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.