mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
New: An external module can remove a tab
This commit is contained in:
parent
92592166fd
commit
0c3ec011e6
|
|
@ -6,6 +6,7 @@ For users:
|
|||
|
||||
For developers:
|
||||
- New: External modules can add their menu manager
|
||||
- New: External modules can remove tabs
|
||||
|
||||
|
||||
***** ChangeLog for 3.0 compared to 2.9 *****
|
||||
|
|
|
|||
|
|
@ -99,8 +99,10 @@ class modMyModule extends DolibarrModules
|
|||
$this->const = array(); // List of particular constants to add when module is enabled (key, 'chaine', value, desc, visible, 0 or 'allentities')
|
||||
|
||||
// Array to add new pages in new tabs
|
||||
$this->tabs = array('entity:Title:@mymodule:/mymodule/mynewtab.php?id=__ID__');
|
||||
// where entity can be
|
||||
// Example: $this->tabs = array('objecttype:+tabname1:Title1:@mymodule:/mymodule/mynewtab1.php?id=__ID__', // To add a new tab
|
||||
// 'objecttype:+tabname2:Title2:@mymodule:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab
|
||||
// 'objecttype:-tabname'); // To remove an existing tab
|
||||
// where objecttype can be
|
||||
// 'thirdparty' to add a tab in third party view
|
||||
// 'intervention' to add a tab in intervention view
|
||||
// 'order_supplier' to add a tab in supplier order view
|
||||
|
|
@ -115,7 +117,7 @@ class modMyModule extends DolibarrModules
|
|||
// 'user' to add a tab in user view
|
||||
// 'group' to add a tab in group view
|
||||
// 'contact' to add a tab in contact view
|
||||
|
||||
$this->tabs = array();
|
||||
|
||||
// Boxes
|
||||
$this->boxes = array(); // List of boxes
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user