dolibarr-dev
[Top][All Lists]
Advanced

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

Re: [Dolibarr-dev] RE : custom folder


From: Laurent Destailleur (eldy)
Subject: Re: [Dolibarr-dev] RE : custom folder
Date: Wed, 28 Aug 2013 16:39:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8

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 <address@hidden>
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
www.open-concept.pro
Envoyer depuis un mobile

Maxime Kohlhaas <address@hidden> 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

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




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


-- 
Eldy (Laurent Destailleur).

EMail: address@hidden
Web: http://www.destailleur.fr

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

reply via email to

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