View Full Version : Navtab Question
Dirks
03-07-2015, 12:53 PM
I did some research on the forum, but wasn't able to find much on point. Maybe you guys can help?
I'm trying to add a new navtab that simply changes the default links under the tab rather than opening to a new page. However, when I leave the target URL link blank, clicking the tab defaults to /index.php. It will work properly when I add menus, but not simply links. Am I missing something, or is this beyond the scope of the built in navigation manager.
Alas, I'm not on a computer where I can snap screen shots, but here's the tab URL to poke around: http://www.althanas.com/world/?tabid=157
Thanks!
Dirks
Lynne
03-07-2015, 04:43 PM
I'm afraid I do not understand the problem. Perhaps when you get on another computer, you can provide screen caps.
Dirks
03-07-2015, 07:32 PM
I'm not even sure screen caps will help.
Basically, I have three links under a navtab called "Compendium". When someone clicks the navtab, it shows the three links but also defaults the entire page to index.php. What I want is when someone clicks the navtab it'll just show the links but leave the page at where the user was when they clicked the link.
Here is a screen grab from the actual page. Ignore the red, as that's related to something different:
http://www.althanas.com/world/attachment.php?attachmentid=3520&d=1424805340
Basically if I'm on /showthread.php?28831, when I click the navtab, I want to stay on /showthread.php?28831 but I want to show those three links.
Does that help?
ForceHSS
03-07-2015, 07:49 PM
You need to post screenshots
Dirks
03-07-2015, 08:48 PM
Okay, please excuse this if it's crude because I had a member do it.
Here is my main page. Note the URL is index.php:
https://vborg.vbsupport.ru/external/2015/03/29.png
When I click the "Compendium" tab at the top of the page, it opens index.php except w/ three new links under "Compendium" (Archon's Vault, Wiki, and Canon Submission)
https://vborg.vbsupport.ru/external/2015/03/30.png
This is what I want.
However, say I click to a random page, like this one:
https://vborg.vbsupport.ru/external/2015/03/31.png
When I click the compendium link, it automatically defaults back to the index w/ the links showing (second image above)
https://vborg.vbsupport.ru/external/2015/03/30.png
What I want it to do is show the individual forum or thread (picture 3) w/ the compendium links (pictures 2-4). Does this help?
Lynne
03-07-2015, 11:27 PM
So, you want it so the user clicks the navtab and they stay on their current page but suddenly have a new sub-menu? The Navigation Manager will not do that. You will need to write a plugin to do that. There are tutorials in the Articles section on how to do that. You will want to modify them to grab the page URL and then make sure they stay on that URL when they click the navtab, but that that particular navtab becomes active.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.