How would I move my navbar into the header? If I just put $navbar in the header it doesn't show up? TIA!
Navbar in Header
Collapse
X
-
Originally posted by vbcorecopy the entire navbar template to your header template.Comment
-
Originally posted by hanksterI just want to put the button bar part of it in the header. But when I paste in the part between
<!-- nav buttons bar -->
and
<!-- /nav buttons bar -->
I get an error in the AdminCP when saving it.
<!-- nav buttons bar -->
riight to the bottom of the template.Comment
-
Thanks to Jake Bunce in this thread, I now understand why $navbar doesn't work in the header, AND was able to get the navbar to sit next to the header without copying and pasting the code from the navbar template into the header template.
Basically, I followed Jake's instructions in copying the code from the bottom of the header template, including the last <td> tag with the comments in it, and the closing </td></tr></table> tags. I then went into the navbar template, and placed that opening <td> tag at the top of the navbar template, and all the closing tags at the bottom. This forced the navbar into the table next to the logo.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment