PDA

View Full Version : Add-On Releases - NJAquaman - [CMS] Sub Nav Tabs Drop Down


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)

steven s
01-05-2010, 11:52 PM
Sorry, none of these work for me.

NJAquaman
01-06-2010, 11:24 AM
Sorry, none of these work for me.
Remember this is For HOME or CMS Sub Nan Bar!
I retested and thy work perfect! What is the problem ,, they don't show for you ?

Glad to Help!;)

steven s
01-06-2010, 10:37 PM
Remember this is For HOME or CMS Sub Nan Bar!
I retested and thy work perfect! What is the problem ,, they don't show for you ?

Glad to Help!;)Nope. Didn't appear at all.
I'll revert the template and try again.

NJAquaman
01-07-2010, 10:54 AM
Nope. Didn't appear at all.
I'll revert the template and try again.

I am Sorry to alarm you But its not a Template , This is an ACP Plugin.
Nothing here has to do whit templates. Please read the directions.

Thanks!

steven s
01-11-2010, 02:03 AM
I am Sorry to alarm you But its not a Template , This is an ACP Plugin.
Nothing here has to do whit templates. Please read the directions.

Thanks!What I meant was that I edited the template before installing your mod. Maybe the edit caused the mod not to work.

NJAquaman
01-11-2010, 11:11 AM
What I meant was that I edited the template before installing your mod. Maybe the edit caused the mod not to work.

I suggest saving you edited on the txt doc then reverting the template. Then adding them with my Mod. This will help you when updating vB so it will not overwrite the template.!

Thanks

CrosseyedGamer
01-16-2010, 05:00 PM
I love all these nav plug ins. Couldn't be easier than this. thanks.

NJAquaman
01-17-2010, 01:59 PM
I love all these nav plug ins. Couldn't be easier than this. thanks.

Thank You ! :)

ascott
01-17-2010, 04:03 PM
I added this to my forum and it's totally destroyed my layout, all I get now is a white background with text, no theme at all.

NJAquaman
01-17-2010, 04:08 PM
I added this to my forum and it's totally destroyed my layout, all I get now is a white background with text, no theme at all.

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 a template edit , its a Plugin!
- Disable the Plugin and find whats wrong !

Thanks

Let me know if you need any help on your site ~!

ascott
01-17-2010, 04:14 PM
Forget that, it's back now. Though I did notice it happened to a lot of other vBulletin sites at the same time???

ascott
01-17-2010, 04:15 PM
Thanks NJAquaman, but even the vBulletin site looked if it had a similar problem. Seems to be OK now.

ascott
01-17-2010, 04:58 PM
I know it's not the right place to say so but I tried the main nav tabs and it done the same, white BG with only text.

NJAquaman
01-19-2010, 12:15 PM
I know it's not the right place to say so but I tried the main nav tabs and it done the same, white BG with only text.

This might be a problem with you Browser or your Computer if they are all doing it !

Let me know if you need help !

Thanks

ascott
01-19-2010, 06:35 PM
It's likely my own fault to why it's not showing right.
When I add the plugin it works OK but when I change the links that you have set in it to my own, then it goes all wonky

NJAquaman
01-20-2010, 10:50 AM
It's likely my own fault to why it's not showing right.
When I add the plugin it works OK but when I change the links that you have set in it to my own, then it goes all wonky

Awesome ,
I am Glad i could help , and that my plugin works for you !
Enjoy!

Thanks

dangerin
01-21-2010, 08:23 AM
also to me it do not work correctly.
i use simpleblack style and vb 4.0.1 and i've created the plug in how instructions but it do not appear nothing.
what i've done not correct?

dangerin
01-21-2010, 02:23 PM
i was very happy to see this mod but it do not work and i've done all correctly.
I use Vb 4.0.1

can you help me ?

abdulbasitsaeed
01-06-2011, 06:20 PM
Works perfectly on 4.0.6.

Thank you for this, NJAquaman. :)

abdulbasitsaeed
01-06-2011, 06:37 PM
Is there any way to make this appear on the Forums Home page and Who's Online too?