By MaramonJ on
I'd appreciate a little help.
I'm trying to install a navbar region below the header in my theme. I've gotten it to appear on the page through the .css but I can't find any documentation on how to add it to the page.tpl.php (or anywhere else I need to add it.)
Here's what's in the .info:
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[navbar] = Navigation Bar
regions[footer] = Footer
from my subtheme .css:
#navbar {
height: 30px;
}
and from page.tpl.php:
{div id="navbar" class="clear-block"} {?php print $navbar ?} {/div}
({ replaces < in the quote)
So can anyone tell me what I'm missing?
Comments
Empty cache?
Hi MaramonJ,
have you emptied the cache yet?
----------------------
Work - Lhmdesign
Play - My Drupal blog
LM — Drupal development
Yep. That happens every time
Yep. That happens every time you visit the Themes page, right? I also emptied it manually on the Performance page.
Can you add this to the
Can you add this to the page.tpl.php file and check..
if ($navbar):print $navbarendif;then clear the cache.