Quote:
Originally Posted by Meje
I have all my links in the sub menus going to VB Pages Ive created myself.
But when I click on each link, while it takes me to the new VB page Ive created, the tab and submenu returns to the Forum tab.
Ive played around with it a bit, but cant figure out how to make it work with multiple pages.....?
Please let me know if you need any additional info to help you understand what it is Im trying to do.
|
In the plugin code is a condition that sets when your tab is 'selected'. In my example I have this condition:
PHP Code:
if (THIS_SCRIPT == 'yourpage')
If you want it to stay highlighted for... say... all threads in forumids 11, 12, and 13 also, then you need to add in that condition:
PHP Code:
if (THIS_SCRIPT == 'yourpage' OR in_array($GLOBALS['forumid'], array(11, 12, 13)))
I'm not sure what your condition would be since you didn't really verbalize it, but I hope what I wrote helps.