ATM-Consulting / dolibarr_module_fullcalendar

intégration du plugin full calendar
5 stars 13 forks source link

Error Menu entry already exists #59

Closed grandoc closed 6 months ago

grandoc commented 3 years ago

It works only if we comment lines 243 to 255 / $this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=project', // Put 0 if this is a top menu 'type'=>'left', // This is a Top menu entry 'titre'=>'Ordonnancement', 'mainmenu'=>'project', 'leftmenu'=>'fullcalendar_ordo', 'url'=>'', 'langs'=>'fullcalendar@fullcalendar', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory. 'position'=>100, 'perms'=>'$conf->global->FULLCALENDAR_ENABLE_TASKS', // Use 'perms'=>'$user->rights->report->level1->level2' if you want your menu with a permission rules 'target'=>'', 'enabled' => '1', 'user'=>2); // 0=Menu for internal users, 1=external users, 2=both $r++; /