vBulletin Mods

The Official vBulletin Modifications Site

4.2.0 NavTab Plugins and Nav Manager
by SkyStryder
13 Sep 2012 17:53

I have a requirement for NavTabs with dropdown menus and submenus. There is no way the
Navigation Manager can do this that I know of. So I have to work with it somehow. I have
4 navtab plugins and I have managed to get them to be "selected" and "unselected" based on
their respective menu items and they do not become selected when the NavMgr has something
selected. My problem is that when the NavMgr doesn't have something selected, it goes and
lights up the Forum tab anyway. $root settings only work for tabs in the navigation manager
database. Since my tabs by requirement can't be in the database I need another way.

Does anyone have an idea on how to get the NavMgr selected to synchronize with my selected?
Thank you!

Lynne 14 Sep 2012 02:46

Read this thread about creating a plugin to make it stay selected - http://www.vbulletin.org/forum/showthread.php?t=283498

SkyStryder 14 Sep 2012 03:37

I have indeed read that thread and many others. My plugin tabs are working
fine. The problem seems to be more that the NavMgr will by default set the
selected tab to the forum tab (of the navmgr tabs) if no other navmgr tabs are selected.
3 of the plugin tabs (all pointing to sets of content.php links) use sectionid or nodeid to
decide whether or not to light up. Home, Articles (w/dropdown sub menus), and Help.
The 4th plugin is a file library. I was hoping there was some way to avoid changes to
the set_navigation_tab() function which seems to present a possibility...
Thank you for your reply Lynne.

Lynne 15 Sep 2012 00:42

I guess when you said "My problem is that when the NavMgr doesn't have something selected, it goes and lights up the Forum tab anyway." I figured you wanted some way to light up a specific tab. Are you saying that sometimes you want NO tab to be highlighted? I don't think that can be done.

SkyStryder 15 Sep 2012 03:28

Because one of my non NM plugin tabs would be highlighted, I would not want the
NavMgr to have any of its tabs highlighted.

--------------- Added 15 Sep 2012 at 18:15 ---------------

YippEE! I was actually able to solve this using Andreas' Navigation Manager Enhancements
Mod located here:

By using the HTML option for links, I was able to code the sub menus to work! :) :up:

I am one happy camper!

All times are GMT. The time now is 23:26.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.