Announcement
Collapse
No announcement yet.
Problem With Navbar Links & Highlighting the Correct Tab
Collapse
X
-
I'm needing the code for what the original poster was trying to do. Does anyone have the plugin to make the tabs highlight with the correct CMS pages?
-
Try entering "album" (without the quotes) in the Tab Script(s) entry for that tab.
Leave a comment:
-
I'm having this same issue. I want a tab for my Photo Albums so they are more prominent on the site. I can get the initial tab to high light but once you click on any sub links or photos etc it goes back to highlighting the Forum tab instead. Is there a way to fix this? My forums are located at: http://4wheeler.ca/forum.php
I've turned the Photo Album tab off for now because I don't want to display it until I can get this working how I want.
Leave a comment:
-
Originally posted by kh99 View PostYeah, sorry, that's pretty much as bad as not reading the thread at all. Anyway, I think you'd need a plugin to do that, and I tried to write one for you but I don't know how you'd check for your "vBulletin 3.X" and "vBulletin 4.X" pages.
Edit: I think I figured out something that works but I don't want to post it here since it would be considered a modification. I'll PM you.
I have the same problem as metalguy639. I added a section in the CMS with subsections and articles ... I would like that the navbar highlights the correct tab whenever someone is in the section page, subsection pages or articles ...
Can you PM me your idea too??
Greetings,
Eddie
Leave a comment:
-
Originally posted by kh99 View PostHaving a tabid on the url should override the this_script setting, but only when you click on the tab - setting "add tabid" for a tab won't do anything if you browse to the forum in a different way (but the this_script setting or a plugin can).
Leave a comment:
-
Originally posted by spencerp View PostPS: And with that "forumdisplay" (this_script) option for tabs for forum link/tabs... they also had the tabid's attached to them as well and it's still quirky, guess cause like you said.. it's the same "this_script" being used more than once.
Leave a comment:
-
Originally posted by kh99 View PostYeah, you can't list the same THIS_SCRIPT value in more than one tab, because when you go to that page the code won't know which one to select (it will select the first one it finds). You either need to use "add tabid to url" and live with that, or else write a plugin. There's an example plugin in this thread: www.vbulletin.org/forum/showthread.php?t=283498.
There's also this mod on vbulletin.org: www.vbulletin.org/forum/showthread.php?t=283123 that adds more controls for the navigation manager (but I haven't tried it myself and I'm not sure if it will solve your problem, but you might want to look at it).
PS: And with that "forumdisplay" (this_script) option for tabs for forum link/tabs... they also had the tabid's attached to them as well and it's still quirky, guess cause like you said.. it's the same "this_script" being used more than once.
Leave a comment:
-
Originally posted by kh99 View PostYeah, sorry, that's pretty much as bad as not reading the thread at all. Anyway, I think you'd need a plugin to do that, and I tried to write one for you but I don't know how you'd check for your "vBulletin 3.X" and "vBulletin 4.X" pages.
Edit: I think I figured out something that works but I don't want to post it here since it would be considered a modification. I'll PM you.
Leave a comment:
-
Originally posted by spencerp View PostWait lol I did find a little snag though, when putting "forumdisplay" in there for "Tabs Scripts".. and I have two tabs, linking to separate forums of course... It highlights the FIRST tab properly.. but when clicking second tab for another forum itself.. it just keeps first forum tab link highlighted...
Yeah, you can't list the same THIS_SCRIPT value in more than one tab, because when you go to that page the code won't know which one to select (it will select the first one it finds). You either need to use "add tabid to url" and live with that, or else write a plugin. There's an example plugin in this thread: www.vbulletin.org/forum/showthread.php?t=283498.
There's also this mod on vbulletin.org: www.vbulletin.org/forum/showthread.php?t=283123 that adds more controls for the navigation manager (but I haven't tried it myself and I'm not sure if it will solve your problem, but you might want to look at it).Last edited by kh99; Fri 27 Jul '12, 12:25pm.
Leave a comment:
-
I was just going to post about this issue myself. Every time I made new tabs in Navigation Manager, it doesn't highlight the tabs. However, the built-in "Forum" and "What's New?" tabs work fine... Doesn't make any sense why the new tabs don't work...
- - - Updated - - -
Enter the THIS_SCRIPT value in the 'Tab Script(s)' fieldOriginally posted by kh99 View PostTry editing that tab in the navigation manager and setting "Append 'tabid' to URL" to yes.
Another edit, i added another URL and did those two things suggested and that tab isn't highlighted..
- - - Updated - - -
I've seemed to found solution in this thread... https://www.vbulletin.com/forum/show...=1#post2299824 which Old Git basically pointed to thread about it: https://www.vbulletin.com/forum/show...wing?p=2315700
- - - Updated - - -
Wait lol I did find a little snag though, when putting "forumdisplay" in there for "Tabs Scripts".. and I have two tabs, linking to separate forums of course... It highlights the FIRST tab properly.. but when clicking second tab for another forum itself.. it just keeps first forum tab link highlighted...Last edited by spencerp; Fri 27 Jul '12, 10:37am.
Leave a comment:
-
Originally posted by metalguy639 View PostLook at the screen shot I placed, I have already ticked this to yes.
Edit: I think I figured out something that works but I don't want to post it here since it would be considered a modification. I'll PM you.Last edited by kh99; Fri 27 Jul '12, 7:25am.
Leave a comment:
-
Seriously? I just said there is no THIS_SCRIPT for this. Its NOT a SCRIPT, its not photopost or something like that. So I do not understand what THIS_SCRIPT has to do with this. I made the page INSIDE/WITH the vBulletin CMS. What is the THIS_SCRIPT value for a page made with the vb CMS?
- - - Updated - - -
Originally posted by kh99 View PostTry editing that tab in the navigation manager and setting "Append 'tabid' to URL" to yes.
Leave a comment:
Related Topics
Collapse
-
by oldz442I notice that if I create a new navtab (ie. Home - this is after renaming the default Home to 'Forum') and make the URL to the that Home tab to root of my domain (outside of the jailed /forums dir where...
-
Channel: Support Issues & Questions
Tue 4 Dec '12, 10:36pm -
Leave a comment: