![]() |
NJAquaman - Main Nav Tab Drop Down
1 Attachment(s)
What: A Nav Tab Plugin to Add a Main Drop Down Tab to the 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 : Nav Tab Drop Down Execution Order : 5 3) Insert the Code; For Tabs On the Right Side Use This Code: Code:
$template_hook['navtab_end'] .= ' Code:
$template_hook['navtab_middle'] .= ' Code:
$template_hook['navtab_start'] .= ' Notes: - "Featured Articles" is the Nav Tab Name - Leave the First "<li></li>" For Alignment - Anything Between the other "<li></li>" will be in the Drop Downs - YOU MAY duplicate this code in the same plug in for another Tab - You can use both Left and Right codes at the same time! If You Want Just a Main Tab With a Link Use this Code CLICK HERE Screen Shot! Attachment 109182 DONT FORGET TO CLICK INSTALL __________________________________________________ ______________ Change Log v1.6 - 01/17/10 - vB 4.0.1 Temp Hook Call Fix - Patch: Change the Hook From "process_template_complete" to "parse_templates" v1.5 - 01/15/10 - Added the Middle Code (garretbyrne) v1.4 - 01/05/10 - Both Right and Left Sides (Zaiaku) v1.3 - 01/05/10 - Added Just A Nav Tab Option With A Link (Pozo) v1.2 - 01/05/10 - Corrected Works in all Browsers (linuxututs) - Patch: Change Both "DIV" tag to a "UL" tag v1.1 - 01/04/10 - Corrected sub Nav Links Hidden (MARCO1) - Patch : Delete the Code:
$vbulletin->options['selectednavtab']='tab_fa'; __________________________________________________ ______________ Here Are Some Other Versions: Main Nav Tabs Main Nav Tab w/ Connective Sub Nav [CMS] Sub Nav Tabs [CMS] Sub Nav Tabs Drop Down |
Looks like there is a some angry moron running around voting peoples mods a 1. I think a mod needs to look into this.
|
Saw this in the 3.8 version. Tagged as I may use it.
|
Quote:
Good work coder! |
Quote:
|
Nice little addon! Thanks! :)
|
1 Attachment(s)
Good Idea, However after adding it that's hide the vBulletin drop-down menus under navbar, See picture in attachments.
|
Quote:
|
I was considering doing something like this for our site re-design back in July. Good to see someone figured out how to do this in version 4.
|
Something is off here... I followed it to the spec and it adds the new button, however no drop down... it adds the menu items that should be in drop down after the button. I also noticed that it drops the search bar all the way down to bottom of site for some reason.
I also have the product : vBH - Add new tabs 1.1 installed, and even disabled it.. same results. It appears that some phrase is not ended correctly ? I am not good enough with all code to figure it out. (I can usually figure most things out but this one escapes me) *Edit forgot to mention... no fancy styles.. just regular VB Modified here and there.* |
All times are GMT. The time now is 03:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|