![]() |
Simple Additional Navbars
Simple Additional Navbars
This allows you to add another navigation menu (navbar) under your exisiting navbar. You can add as many as you want. For simplicity sake, this does not have the option to add dropdown menus. If you wish to do that there are plenty of tutorials on vbulletin.org that show you how to do that - this is meant as a way to simply add another basic navbar to your forum. TEMPLATE EDIT: Go to your Admin Control Panel, and select the "Styles & Templates" navigation option, and click on "Style Manager" In the dropdown menu select "Edit Templates" click on the "<<>>" button to expand all of the templates Select the "navbar" template and click on "Customize" or "Edit" In your navbar template find: Code:
<!-- breadcrumb, login, pm info --> Code:
<!-- additional nav button row below navbar --> You can also obviously add as many links as will fit on the navbar. Just add: Code:
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td> If you want to add multiple additional navbars below the navbar, simply paste the code in again for each navbar you wish to add, and edit the links accordingly. NOTE: If you want to add a new navbar ABOVE your existing navbar, then in the navbar template search for: Code:
<!-- nav buttons bar --> Code:
<!-- additional nav button row above navbar --> If you want to show a link only to members use this: Code:
<if condition="$show['member']"> Code:
<if condition="$show['member']"> Code:
<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td> Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> SPECIAL NOTE REGARDING DROPDOWN MENUS: If you do decide to add dropdown menus to your additional navbar, keep in mind that some web browsers lack the ability to use the vBMenu system. To avoid confilcts with these browsers surround all vBMenu controls that use dropdown menus in a conditional that checks the value of $show['popups']: Code:
<if condition="$show['popups']"> |
I know that there are going to be inevitable requests for screenshots - simply use your imagination - picture another navbar either below or above the existing navbar. :)
|
Screenies :D
|
Screenshots? lmao :)
J/K. I like it. |
A demo atleast? >_>
|
thanks for this :)
|
Quote:
|
Note: if you want to hide the additional navbar from guests then use this:
Code:
<!-- additional nav button row for members only --> |
Quite useful. Thank you!
|
Thanks for this. I now have this and it is working great :)
|
All times are GMT. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|