The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to keep a tab active in VB4.2 Nav. system
Hi dears,
In my website I have: 1- VB4.2.1 2- vb4-Gallery "or any VB4 mod." From the new vb4.2 navigation system I added a new tab for the gallery. In "Tab Script(s)" I put (gallery_index) Result: The gallery tab will be active only in the gallery main page. I want to make it active in all gallery pages. How can I do that? |
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
If each page has a different THIS_SCRIPT variable, then you need to add them all if you want the tab to stay selected.
|
#4
|
|||
|
|||
Thanks Kevin
Append tabid is (NO) But (THIS_SCRIPT) is different for each page. For example: The main page >> var THIS_SCRIPT = "gallery_index"; The image page >> var THIS_SCRIPT = "browseimages"; Add new image >> var THIS_SCRIPT = "gallery_upload"; etc... --------------- Added [DATE]1370710783[/DATE] at [TIME]1370710783[/TIME] --------------- Quote:
I tried to add it like this Code:
gallery_index.browseimages.gallery_upload After save I got only this ! Code:
gallery_index.browseimages.gal |
#5
|
||||
|
||||
Write a plugin then.
hook location - set_navigation_tab_main PHP Code:
|
#6
|
|||
|
|||
Quote:
But until now I added 12 names and maybe there is many others names. For example there is a script name in (showimage) and if I click "reply" I will get different script name and in rating, comment, moderate, advance reply, search, ....etc maybe I will miss some pages. However, I can add it all but there is no way to add the (script name) ? I don't have much knowledge but I assume there is a common "script name" for all pages? Thanks Lynne, appreciate your help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|