dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Adding entries to an existing left menu on 3.2-alpha


From: Régis Houssin
Subject: Re: [Dolibarr-dev] Adding entries to an existing left menu on 3.2-alpha
Date: Tue, 26 Jun 2012 16:16:59 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

hi,

skeletons contains an example:

// Example to declare a Left Menu entry into an existing Top menu entry:
// $this->menu[$r]=array(    'fk_menu'=>'fk_mainmenu=mainmenucode',    // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy'
//                            'type'=>'left',                            // This is a Left menu entry
//                            'titre'=>'MyModule left menu',
//                            'mainmenu'=>'mainmenucode',
//                            'leftmenu'=>'mymodule',
//                            'url'=>'/mymodule/pagelevel2.php',
//                            'langs'=>'mylangfile',                    // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
//                            'position'=>100,
//                            'enabled'=>'$conf->mymodule->enabled',  // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled. Use '$leftmenu==\'system\'' to show if leftmenu system is selected.
//                            'perms'=>'1',                            // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules
//                            'target'=>'',
//                            'user'=>2);                                // 0=Menu for internal users, 1=external users, 2=both
// $r++;


Le 26/06/12 15:20, Anthony Poiret a écrit :
Hi all,

I'm looking for a way to add an entry to an existing left menu. I saw there that it was now possible.

I didn't found any doc on the process to follow (and skeletons doesn't contains any hint). If you have any clue on the process to follow, I'll take it with pleasure.

Regards,

AUGURIA
 Anthony Poiret
 address@hidden
 9, rue Alfred Kastler
 BP 50752
 44307 NANTES CEDEX 3
 http://www.auguria.net





_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Cordialement,
-- 
Régis Houssin
---------------------------------------------------------
Cap-Networks
Cidex 1130
34, route de Gigny
71240 MARNAY
FRANCE
VoIP: +33 1 83 62 40 03
GSM: +33 6 33 02 07 97
Web: http://www.cap-networks.com/
Email: address@hidden

Dolibarr developer: address@hidden
Web Portal: http://www.dolibarr.fr/
SaaS offers: http://www.dolibox.fr/
Shop: http://www.dolistore.com/
Development platform: https://doliforge.org/
---------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]