2019-12-05 20:57:43 +01:00
# MYMODULE FOR [DOLIBARR ERP CRM](https://www.dolibarr.org)
2017-05-08 21:00:23 +02:00
2017-05-27 13:46:34 +02:00
## Features
2019-12-04 08:26:40 +01:00
2021-01-13 12:36:33 +01:00
Description of the module...
2017-05-08 21:00:23 +02:00
2017-12-16 12:11:46 +01:00
<!--
{imgmd}
-->
2021-01-13 12:36:33 +01:00
Other external modules are available on [Dolistore.com ](https://www.dolistore.com ).
2017-06-24 11:35:53 +02:00
2019-03-17 19:33:25 +01:00
## Translations
2017-06-24 11:35:53 +02:00
2021-01-13 12:36:33 +01:00
Translations can be completed manually by editing files into directories *langs* .
2017-06-24 11:35:53 +02:00
<!--
2019-12-04 08:26:40 +01:00
This module contains also a sample configuration for Transifex, under the hidden directory [.tx ](.tx ), so it is possible to manage translation using this service.
2017-12-11 13:50:26 +01:00
2017-06-24 11:35:53 +02:00
For more informations, see the [translator's documentation ](https://wiki.dolibarr.org/index.php/Translator_documentation ).
There is a [Transifex project ](https://transifex.com/projects/p/dolibarr-module-template ) for this module.
-->
<!--
2019-03-17 19:33:25 +01:00
## Installation
2017-06-24 11:35:53 +02:00
2017-12-16 12:11:46 +01:00
### From the ZIP file and GUI interface
2022-02-16 14:11:48 +01:00
If the module is a ready to deploy zip file, so with a name module_xxx-version.zip (like when downloading it from a market place like [Dolistore ](https://www.dolistore.com )),
go into menu ```Home - Setup - Modules - Deploy external module``` and upload the zip file.
2017-06-24 11:35:53 +02:00
2022-02-16 14:11:48 +01:00
Note: If this screen tell you that there is no "custom" directory, check that your setup is correct:
2017-12-16 12:11:46 +01:00
- In your Dolibarr installation directory, edit the ```htdocs/conf/conf.php``` file and check that following lines are not commented:
2017-06-24 11:35:53 +02:00
```php
//$dolibarr_main_url_root_alt ...
//$dolibarr_main_document_root_alt ...
```
2017-12-16 12:11:46 +01:00
- Uncomment them if necessary (delete the leading ```//```) and assign a sensible value according to your Dolibarr installation
2017-06-24 11:35:53 +02:00
For example :
- UNIX:
```php
$dolibarr_main_url_root_alt = '/custom';
$dolibarr_main_document_root_alt = '/var/www/Dolibarr/htdocs/custom';
```
- Windows:
```php
$dolibarr_main_url_root_alt = '/custom';
$dolibarr_main_document_root_alt = 'C:/My Web Sites/Dolibarr/htdocs/custom';
```
2019-12-04 08:26:40 +01:00
2017-12-16 12:11:46 +01:00
### From a GIT repository
2017-06-24 11:35:53 +02:00
2022-02-16 14:11:48 +01:00
Clone the repository in ```$dolibarr_main_document_root_alt/mymodule```
2017-06-24 11:35:53 +02:00
```sh
2017-12-16 12:11:46 +01:00
cd ....../custom
git clone git@github.com:gitlogin/mymodule.git mymodule
2017-06-24 11:35:53 +02:00
```
### <a name="final_steps"></a>Final steps
From your browser:
- Log into Dolibarr as a super-administrator
- Go to "Setup" -> "Modules"
- You should now be able to find and enable the module
-->
2019-03-17 19:33:25 +01:00
## Licenses
2017-06-24 11:35:53 +02:00
2019-12-04 08:26:40 +01:00
### Main code
2017-06-24 11:35:53 +02:00
2019-03-10 19:33:28 +01:00
GPLv3 or (at your option) any later version. See file COPYING for more information.
2017-06-24 11:35:53 +02:00
2019-12-04 08:26:40 +01:00
### Documentation
2017-06-24 11:35:53 +02:00
2019-03-10 19:33:28 +01:00
All texts and readmes are licensed under GFDL.