Think it's buggy with edly_menu only.
If you switch on configuration->Menus to 'auguria_menu', and reinstall your
module, it should work.

Regards,

Philippe Berthet
www.onelog.be



On Mon, Nov 24, 2014 at 6:11 PM, <charles...@benke.fr> wrote:

> Hello raphael
>
> As i remember i was confronted to the same problem for my projet V2 modules
>
> Then I have not succeed
>
> Maybe they are no way for it
>
>
>
> Bien cordialement,
>
> Charles-François BENKE
>
> http://www.benke.fr - 0637056117
>
>
>
> *De :* dolibarr-dev-bounces+charles.fr=benke...@nongnu.org [mailto:
> dolibarr-dev-bounces+charles.fr=benke...@nongnu.org] *De la part de*
> Doursenaud, Raphaël
> *Envoyé :* lundi 24 novembre 2014 15:51
> *À :* Posts about Dolibarr ERP & CRM development and coding
> *Objet :* [Dolibarr-dev] Adding a submenu entry to projects
>
>
>
> Hi all,
>
>
>
> I'm trying to declare a submenu to the projects menu.
>
> So far I've only been able to add it to the "My projects", but I want it
> under "Projects".
>
>
>
> Is this a bug or am I doing something stupid?
>
>
>
> 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' => 'mymodule@mymodule',
>
>      'position' => '100',
>
>      'enabled' => '$conf->mymodule->enabled && $conf->projet->enabled',
>
>      'perms' => '$user->rights->projet->lire',
>
>      'target' => '',
>
>      'user' => '0', // Internal only
>
> );
>
>
>
> Thanks!
>
>
>
> --
>
> *Raphaël Doursenaud*
>
> Directeur technique (CTO)
>
> Expert certifié en déploiement Google Apps
> <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
>
> +33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10
>
>
>
> [image: Image supprimée par l'expéditeur.] <http://gpcsolutions.fr>
>
> http://gpcsolutions.fr
>
> Technopole Hélioparc
>
> 2 avenue du Président Pierre Angot
>
> 64053 PAU CEDEX 9
>
> SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921
>
> [image: Image supprimée par l'expéditeur.]
> <http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>[image:
> Image supprimée par l'expéditeur.]
>
> _______________________________________________
> Dolibarr-dev mailing list
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>
>
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à