2011-11-13, 07:30:30
n00dles101 Wrote:ok, will have a look at the code and add it to the SVN.
Was under the impression it was one or the other.
sorry for the confusion...
8)
Adding loadtab.php was the first approach, but it has a lot of deficiencies, like still needing additional functions for actually adding menu items in the tab.
With the changes described here
- you can add multiple side menu items for one plugin (e.g. configure and edit) with the standard createSideMenu
- you can use the same createSideMenu also for items on a new tab
- you can have menu items that are only visible if the action is active (like "Edit Page" menu item)
- you don't need loadtab.php by adding a bit of code to load.php
So above changes are the far better solution than adding loadtab.php.