Dolibarr ERP & CRM » Bugs » bug #1724 Can't add a submenu to projectsÉtat Détails |
Submitted by: | Raphaël Doursenaud (rdoursenaud) | | Submitted on: | 25/11/2014 11:54 |
Last Modified On: | 25/11/2014 11:54 | |
Summary: | Can't add a submenu to projects |
Description: | http://***/projet/index.php?mainmenu=project&leftmenu=
Trying to add a submenu to "Projects" always leads to the submenu being displayed in "My projects".
Here's the code I'm using in my module descriptor:
$this->menu[] = array(
'fk_menu' => 'fk_mainmenu=project,fk_leftmenu=projects',
'type' => 'left',
'titre' => 'MyMenuTitle',
'mainmenu' => 'project',
'leftmenu' => 'projects',
'url' => '/mymodule/project/somepage.php',
'langs' => 'address@hidden',
'position' => '100',
'enabled' => '$conf->mymodule->enabled && $conf->projet->enabled',
'perms' => '$user->rights->projet->lire',
'target' => '',
'user' => '0', // Internal only
);
|
Step to reproduce bug: | |
Detected in version: | develop | | Category: | Core Problem |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Répondre
|
|