The Arcive of vBulletin Modifications Site. |
|
NJAquaman - [CMS] Sub Nav Tabs Details »»
|
|||||||||||||||||||||||||
What: A Simple [CMS] Sub Nav Tab Plugin to Add a Sub Nav Tab to the [CMS] Nav Bar.
WORKS WITH ..!!! 4.0.x Browser Comparability (All Latest Versions); Internet Explorer Firefox Opera Safari Google Chrome Install: 1) Navigate to ACP> Plugins & Products > Add New Plugin 2) Product : Vbulletin Hook Location : parse_templates Title : CMS Sub Nav Tab Execution Order : 5 3) Insert the Code; For Tabs On the Right Side Use This Code: Code:
$template_hook['vbcms_navbar_end'] .= ' <li><a href="http://www.google.com" >Google </a></li> <li><a href="http://www.yahoo.com" >Yahoo </a></li>'; Code:
$template_hook['vbcms_navbar_start'] .= ' <li><a href="http://www.google.com" >Google </a></li> <li><a href="http://www.yahoo.com" >Yahoo </a></li>'; Notes: - "Google" or "Yahoo" is the tab names - To Create More Tabs Duplicate it in the Same "$template_hook['vbcms_navbar_end']" Tag - YOU MAY Duplicate it in the same Plugin - You can use both Left and Right codes at the same time! Screen Shot! 2010-01-05_125932.gif DONT FORGET TO CLICK INSTALL __________________________________________ Change Log v1.2 - 01/17/10 - vB 4.0.1 Temp Hook Call Fix - Patch: Change the Hook From "process_template_complete" to "parse_templates" v1.1 - 01.05/10 - Both Right and Left Sides (Zaiaku) __________________________________________ Here Are Some Other Versions: Main Nav Tabs Main Nav Tab Drop Down Main Nav Tab w/ Connective Sub Nav [CMS] Sub Nav Tabs Drop Down Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Doesn't work, messed up my whole forum navbar and gave me weird code at the top. It makes all of the navbar buttons go away except for Forum and What's New?
|
|
#3
|
||||
|
||||
|
Quote:
- If your navbar templates are customized then it will not work. - Please Copy the Code correctly - Read the directions carefully - Remember this is not e template edit , its a Plugin! Thanks Let me know if you need any help ! |
|
#4
|
|||
|
|||
|
It works fine! Thanks.
Could I ask another question, just a private question? I want to add section as new item in sub nav, I know I can set it in "Sections to Display in Navbar Sub-Menu", after I check selected section, choose order to showing then I click save but my setting does not saved. Many thanks! |
|
#5
|
||||
|
||||
|
Is it possible to use this to get the forum navbar links to show on the CMS page?
New Posts, Private Messages, FAQ, Calendar etc.. |
![]() |
|
|