Helpful Information
 
 
Category: vBulletin 4.x Modifications
Add-On Releases - NJAquaman - [CMS] Sub Nav Tabs

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:
$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>';

For Tabs On the Left Side Use This 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>';

4) Save , Now you Have a CMS Sub Nav Tab!

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!

109210



DONT FORGET TO CLICK INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=232265)


__________________________________________
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) (http://www.vbulletin.org/forum/showpost.php?p=1948060&postcount=10)
__________________________________________



Here Are Some Other Versions:
Main Nav Tabs (http://www.vbulletin.org/forum/showthread.php?t=232254)
Main Nav Tab Drop Down (http://www.vbulletin.org/forum/showthread.php?t=232134)
Main Nav Tab w/ Connective Sub Nav (http://www.vbulletin.org/forum/showthread.php?p=1974720)
[CMS] Sub Nav Tabs Drop Down (http://www.vbulletin.org/forum/showthread.php?t=232268)

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?

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?

This has Been Thoroughly tested on numerous sites. Here are some tips on Making it work;
- 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 !

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!

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..










privacy (GDPR)