2012-01-24, 17:33:40
(This post was last modified: 2012-01-24, 17:34:49 by Chuck Brown.)
mvlcek Wrote:Regarding the class to highlight the tab: this seems to be a bug.I was struggling with this to, but I've figured it out. For the highlighting to work, set page type in register_plugin() to $thisfile. This works because the following is used to determine the active tab (in createNavTab): (since 3.1 beta)
Code:
if ($plugin_info[$plugin_id]['page_type'] == $tabname) $current = true;
Also added this to the wiki.