Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Changing CurrentTab
if (isset($Menu)) $Menu->CurrentTab = 'Blog';
I tried changing the CurrentTab at 'DiscussionForm_PreRender' and debugged it. it does change the CurrentTab to Blog, but i guess the css is already set the first time the CurrentTab is called inside post.php, and changing it after that has no affect on the css class.
Any idea
0
This discussion has been closed.
Comments
One thing I wanted to do was to remove the search tab, and make the discussions tab active when someone was on the search page. The solution was kind of hacky, but I set the name of the discussions tab to search, and when someone clicked on the search page voila--discussions tab would be highlighted.
Its sloppy, but I should look into a better fix.