Log in

View Full Version : Navbar oriented conditional


Bellardia
01-04-2009, 05:50 PM
I was wondering if anyone knew any conditionals for the navbar that parse in the footer.

In templates like STANDARD_ERROR there is a conditional <if condition="$navbar"> but that doesn't parse in the footer.

Are there any other conditionals or template based ways I could detect if the navbar is showing?
The reason is for a theme, and the navbar holds a content container, which I need to close in the footer if it is being used, and not otherwise.

Dismounted
01-05-2009, 02:45 AM
The navbar is usually the last template that is parsed, so you may have some difficulties there.

Bellardia
01-05-2009, 02:52 AM
Gah, thats no good.

Now I have to debate if its worth making a mod to properly parse pages without the navbar just so that everything is HTML valid.