Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Sep 2012, 17:53
SkyStryder SkyStryder is offline
 
Join Date: Dec 2007
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!
Reply With Quote
  #2  
Old 14 Sep 2012, 02:46
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Read this thread about creating a plugin to make it stay selected - http://www.vbulletin.org/forum/showthread.php?t=283498
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 14 Sep 2012, 03:37
SkyStryder SkyStryder is offline
 
Join Date: Dec 2007
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.
Reply With Quote
  #4  
Old 15 Sep 2012, 00:42
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 15 Sep 2012, 03:28
SkyStryder SkyStryder is offline
 
Join Date: Dec 2007
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:
http://www.vbulletin.org/forum/showthread.php?t=283123

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

I am one happy camper!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Group Plugins by Product in the ACP Plugin Manager Paul M Modification Graveyard 18 02 Jun 2006 11:22



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:30.

Layout Options | Width: Wide Color: