This commit is contained in:
Laurent Destailleur
2020-06-07 19:37:42 +02:00
parent 09047dc19c
commit 9f8a3916c2

View File

@@ -269,7 +269,7 @@ class modMyModule extends DolibarrModules
$this->menu[$r++] = array( $this->menu[$r++] = array(
'fk_menu'=>'', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode 'fk_menu'=>'', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
'type'=>'top', // This is a Top menu entry 'type'=>'top', // This is a Top menu entry
'titre'=>'MyModule', 'titre'=>'ModuleMyModuleName',
'mainmenu'=>'mymodule', 'mainmenu'=>'mymodule',
'leftmenu'=>'', 'leftmenu'=>'',
'url'=>'/mymodule/mymoduleindex.php', 'url'=>'/mymodule/mymoduleindex.php',