Le 28/08/2013 16:02, Maxime Kohlhaas a écrit :
> Laurent, can you explain quickly how the customs folder should work
> from now on ?
> As I said, I've created several custom folder and put modules in them,
> but only modules from the custom module are displayed.

Well, to store a module into a subdirectory of dolibarr htdocs, you must
declare the subdirectories into dolibarr config file.

$dolibarr_main_url_root_alt must contains list of RELATIVE URL
subdirectories
Exemple:
$dolibarr_main_url_root_alt='/subdir1,/subdir2';

$dolibarr_main_document_root_alt must contains full path to subdirectory
Exemple:
$dolibarr_main_document_root_alt='/home/dolibarr/htdocs/mysubdir1,/home/dolibarr/htdocs/mysubdir2';

That's all.

But to have this working, a module must also be correctly developped and
follow dolibarr development guideline that is described here:
http://wiki.dolibarr.org/index.php/Module_development

In most cases, modules forget to follow what is described into document
chapter
http://wiki.dolibarr.org/index.php/Module_development#Create_your_own_PHP_screens_.28optional.29

>
> Thanks,
>
> Cordialement,
>
> --
> /*Maxime Kohlhaas
> *Consultant associé
> //ATM Consulting/
> /+33 6 33 42 92 43/
>
>
> 2013/7/26 Florian Henry <florian.he...@open-concept.pro
> <mailto:florian.he...@open-concept.pro>>
>
>     I see that feature was implemented by laurent, I would like to ask
>     him  more information during last meeting but he leave us to early.
>     I think this is to improve perf when use dol_include_once or
>     dol_buildpath. 
>
>
>
>
>     Florian Henry
>     06 03 76 48 07 <tel:06%2003%2076%2048%2007>
>     www.open-concept.pro <http://www.open-concept.pro>
>     Envoyer depuis un mobile
>
>     Maxime Kohlhaas <max...@atm-consulting.fr
>     <mailto:max...@atm-consulting.fr>> a écrit :
>
>     Hi all,
>
>     I saw that now in 3.5, the url_root_alt must contain a relative
>     path and can contain several, separated by comas. I tried to have
>     this in my conf "/custom,/custom2" but only modules in custom were
>     displayed in the module list. Have I missed something ?
>
>     Regards,
>
>     --
>     /*Maxime Kohlhaas
>     *Consultant associé
>     //ATM Consulting/
>     /+33 6 33 42 92 43 <tel:%2B33%206%2033%2042%2092%2043>/
>
>     _______________________________________________
>     Dolibarr-dev mailing list
>     Dolibarr-dev@nongnu.org <mailto: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


-- 
Eldy (Laurent Destailleur).

EMail: e...@destailleur.fr
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: cont...@destailleur.fr
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

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

Répondre à