NJAquaman
01-04-2010, 10:00 PM
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:
$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:
$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!
109212
DONT FORGET TO CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=232268)
__________________________________________
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) (https://vborg.vbsupport.ru/showpost.php?p=1948060&postcount=10)
__________________________________________
Here Are Some Other Versions:
Main Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232254)
Main Nav Tab Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232134)
Main Nav Tab w/ Connective Sub Nav (https://vborg.vbsupport.ru/showthread.php?p=1974720)
[CMS] Sub Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232265)
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:
$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:
$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!
109212
DONT FORGET TO CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=232268)
__________________________________________
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) (https://vborg.vbsupport.ru/showpost.php?p=1948060&postcount=10)
__________________________________________
Here Are Some Other Versions:
Main Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232254)
Main Nav Tab Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232134)
Main Nav Tab w/ Connective Sub Nav (https://vborg.vbsupport.ru/showthread.php?p=1974720)
[CMS] Sub Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232265)