Dolibarr ERP & CRM » Bugs » bug #1724 Can't add a submenu to projectsLatest modifications
Answer now
Snapshot Details |
Last Modified On: | 2014-11-25 11:54 | | Submitted by: | Raphaël Doursenaud (rdoursenaud) |
Submitted on: | 2014-11-25 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: | |
Status |
Status: | Open | | Assigned to: | Marcos García (marcosgdf) |
Resolution: | Fixed | |
Comments- Marcos GarcĂa 2014-12-25 18:43
- The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch. |
|
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
None→ Marcos García (marcosgdf)None→ Fixed