Announcement

Collapse
No announcement yet.

moving the navbar into the header template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • moving the navbar into the header template

    I want the navbar to display amongst my logo in the header template, I have tried using $navbar and putting the navbar text into the header but I cant get it to work.

    Or I should say it works fine using the code form the navbar but the forum navbits wont display correctly when browsing forums.

    anyone help?

    Thanks

    Lee

  • #2
    This is impossible. All of the variables to generate the navbar have not yet been loaded when the header is displayed.
    http://www.vbulletin.com/forum/showthread.php?t=207080

    On my forum, I moved everything I needed to the navbar template. The header template is practically empty. No problems after 4 years.

    Comment


    • #3
      What feldon said. Here is an old thread that gives some code:

      http://www.vbulletin.com/forum/showthread.php?t=101113

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X