Great mod, almost there but I have issues with THIS_SCRIPT and highlighting the wrong tabs too.
What I was trying to do, was create a tab linked to a search that shows only a certain number of forums using "do=getnew&include=X,Y,Z" - Where X,Y,Z are the forum numbers that I want to include (and thereby exclude everything else. Works fine except the What's New tab is highlighted. Because I'm using search.php in my link, I can set THIS_SCRIPT to search to keep the new tab highlighted, but if I do that, it kills the highlighting of What's New and the submenus dissapear. I'm thinking each tab must have a unique THIS_SCRIPT identifier? Aside from it highlighting the wrong tab, this mod is superb.
For clarity, I am using...
"do=getnew&exclude=X,Y,Z" on What's New and...
"do=getnew&include=X,Y,Z" on the new tab.
But as they both have THIS_SCRIPT = "search" I get the wrong tab highlighted. Any way round this?
|