PDA

View Full Version : Put $navbar into header


Oreamnos
10-04-2005, 09:14 PM
I want to move the $navbar into my header. I tried sticking $navbar into the header template but no luck.

Before I tear apart my templates, what is the best way to access the $navbar values in the header?

you can see here (http://www.expatbars.com/) where i want to put the $navbar values.

thanks
eric

peterska2
10-04-2005, 09:16 PM
Just copy the navbar bits into the header template but make sure you leave the popup menu controls in the navbar template. That's always worked for me

Andreas
10-04-2005, 09:20 PM
That won't work.
Template header gets eval()ed by global.php - way before $navbits is defined.

Oreamnos
10-04-2005, 10:04 PM
Just copy the navbar bits into the header template but make sure you leave the popup menu controls in the navbar template. That's always worked for meYeah, i already tried this and it didn't work.

Does anyone know how, though?