2024-02-09 15:58:49 +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
2024-02-09 15:58:49 +01:00
Translations can be completed manually by editing files in the module directories under `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
2023-11-16 15:33:55 +01:00
For more information, see the [translator's documentation ](https://wiki.dolibarr.org/index.php/Translator_documentation ).
2017-06-24 11:35:53 +02:00
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
2024-02-09 15:58:49 +01:00
Prerequisites: You must have Dolibarr ERP & CRM software installed. You can download it from [Dolistore.org ](https://www.dolibarr.org ).
You can also get a ready-to-use instance in the cloud from https://saas.dolibarr.org
2023-11-20 12:31:30 +01:00
2017-12-16 12:11:46 +01:00
### From the ZIP file and GUI interface
2024-02-09 15:58:49 +01:00
If the module is a ready-to-deploy zip file, so with a name `module_xxx-version.zip` (e.g., when downloading it from a marketplace like [Dolistore ](https://www.dolistore.com )),
go to menu `Home> Setup> Modules> Deploy external module` and upload the zip file.
2017-06-24 11:35:53 +02:00
2023-11-20 12:31:30 +01:00
<!--
2025-02-06 13:59:58 +01:00
Note: If this screen tells you that there is no "custom" directory, check that your setup is correct:
2024-02-09 15:58:49 +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 ...
```
2024-02-09 15:58:49 +01:00
- Uncomment them if necessary (delete the leading `//` ) and assign the proper 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';
```
2023-11-20 12:31:30 +01:00
-->
<!--
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
2024-02-09 15:58:49 +01:00
Clone the repository in `$dolibarr_main_document_root_alt/mymodule`
2017-06-24 11:35:53 +02:00
2024-02-09 15:58:49 +01:00
```shell
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
```
2023-11-20 12:31:30 +01:00
-->
### Final steps
2017-06-24 11:35:53 +02:00
2024-02-09 15:58:49 +01:00
Using your browser:
2017-06-24 11:35:53 +02:00
- Log into Dolibarr as a super-administrator
2024-02-09 15:58:49 +01:00
- Go to "Setup"> "Modules"
2017-06-24 11:35:53 +02:00
- You should now be able to find and enable the module
2023-11-20 12:31:30 +01:00
2017-06-24 11:35:53 +02:00
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
2024-02-09 15:58:49 +01:00
All texts and readme's are licensed under [GFDL ](https://www.gnu.org/licenses/fdl-1.3.en.html ).