Back to vBulletin 4.x Add-ons

NJAquaman - [CMS] Sub Nav Tabs Drop Down
Mod Version: 1.2, by NJAquaman

vB Version: 4.0.x Rating: (2 votes - 5.00 average) Installs: 26
Released: 05 Jan 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code Translations  

What: A Simple [CMS] Sub Nav Tab Plugin to Add a Sub Nav Tab Drop Down 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 Drop Down
Execution Order : 5

3) Insert the Code;

For Tabs On the Right Side Use This Code:
Code:
$template_hook['vbcms_navbar_end'] .= '
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Browsers</a>
<ul class="popupbody">
<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.yahoo.com">Yahoo</a></li>
<li><a href="http://www.bing.com">Bing</a></li>
</ul>
</li>
';

For Tabs On the Left Side Use This Code:
Code:
$template_hook['vbcms_navbar_start'] .= '
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Browsers</a>
<ul class="popupbody">
<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.yahoo.com">Yahoo</a></li>
<li><a href="http://www.bing.com">Bing</a></li>
</ul>
</li>
';

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

Notes:
- "Browsers" is the Sub Main tab name
- To Create More Tabs Duplicate it in the Same Code
- YOU MAY Duplicate it in the same Plugin
- You can use both Left and Right codes at the same time!

Screen Shot!




__________________________________________
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)

Spoiler (click to open)


Quote by NJAquaman
The Right Side ! Do you Need The left Side?

Thanks
Would be nice to be able to do this on both sides.

Close

__________________________________________


Here Are Some Other Versions:

Main Nav Tabs
Main Nav Tab Drop Down
http://www.vbulletin.org/forum/showthread.php?p=1974720
[CMS] Sub Nav Tabs

Download

No files for download.

Screenshots

Click image for larger version
Name:	2010-01-05_131921.gif
Views:	551
Size:	6.7 KB
ID:	109212  

Similar Mods

New Posting Features NJAquaman - New Post Count! vBulletin 3.8 Add-ons
Add-On Releases NJAquaman - Main Nav Tabs vBulletin 4.x Add-ons
Add-On Releases NJAquaman - Main Nav Tab Drop Down vBulletin 4.x Add-ons
Add-On Releases NJAquaman - [CMS] Sub Nav Tabs vBulletin 4.x Add-ons
Forum Home Enhancements Flipped tabs = Swivel tabs = INVERTED TABS vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024