The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
4.2.0 NavTab Plugins and Nav Manager
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! |
#2
|
||||
|
||||
Read this thread about creating a plugin to make it stay selected - https://vborg.vbsupport.ru/showthread.php?t=283498
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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.
|
#5
|
|||
|
|||
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 [DATE]1347732929[/DATE] at [TIME]1347732929[/TIME] --------------- YippEE! I was actually able to solve this using Andreas' Navigation Manager Enhancements Mod located here: https://vborg.vbsupport.ru/showthread.php?t=283123 By using the HTML option for links, I was able to code the sub menus to work! :up: I am one happy camper! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|