Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sidebar items always point to the page tab
This might be a little cleaner than messing with register plugin.
of course you would have to use multiple actions

PHP Code:

// if _GET['action1'];
$plugin_info[$plugin_id]['page_type'] = 'settings'//override page_type before include_nav loads.

Same solution, of course we can edit core to possibly loop through the plugins hooks and find the matching action and use the pagetype from the hook name. Or add more arguments to the hook.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix

Messages In This Thread
RE: Sidebar items always point to the page tab - by shawn_a - 2013-01-25, 03:11:12

Users browsing this thread: 1 Guest(s)