[Top][All Lists]

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

Re: [Dolibarr-dev] [ANN] New module template

From: Régis Houssin
Subject: Re: [Dolibarr-dev] [ANN] New module template
Date: Mon, 29 Oct 2012 12:59:10 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121010 Thunderbird/16.0.1

great !


move /includes/boxes/ to /core/boxes/

move /includes/ to /core/inc/

move /lib/ to /core/lib/

move /js/ to /core/js/

Le 29/10/12 12:31, Florian Henry a écrit :
Hello all !

    Thank's for the ref Raphaël.
    I've just clone this repo, I love it !
    I'm currently on a module and as soon as I see missing things, I'll fork and do a pull request.

    Regis, Laurent : What about integrate this in core dolibarr in dev directory ?

Florian HENRY
+33 6 03 76 48 07
Le 29/10/2012 12:08, Doursenaud, Raphaël a écrit :
Hi Dolibarr developers,

I've been working on a full featured module template to ease module development.
It's far from complete and certainly have some bugs lurking inside but should be a convenient base to start a new module.
It only supports 3.2.x for now. (All three branches are the same but are to follow the main repository organisation : master = current stable, 3.2 = maintenance branch, develop =  future version branch)

You can find it on GitHub :

We've already used it successfully to develop some very specific modules for our clients here at
It's GPLv3 licenced.
Feel free to use it to bootstrap your new awesome modules.
I'd love to have some feedback. Comments and pull requests will be much appreciated !

Only two steps are required to start playing with it :
  • activate your custom directory inside your dolibarr development environment by de-commenting the $dolibarr_main_url_root_alt and $dolibarr_main_document_root_alt lines from your htdocs/conf/conf.php file
  • clone the repo in your htdocs/custom dir as mymodule
You might also be interested by a small and dumb git hook I wrote in Python that switches databases for me as I switch branches :

Thanks to Florian Henry for providing the motivation to publicize these ;)

Raphaël Doursenaud
05 35 53 97 13 - 06 68 48 20 10

Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL au capital de 7 500 € - R.C.S. PAU 528 995 921

Dolibarr-dev mailing list

Dolibarr-dev mailing list

Régis Houssin
Cidex 1130
34, route de Gigny
71240 MARNAY
VoIP: +33 1 83 62 40 03
GSM: +33 6 33 02 07 97
Email: address@hidden

Dolibarr developer: address@hidden
Web Portal:
SaaS offers:
Development platform:

reply via email to

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