Line 67:
Line 67:
==For an existing core module==
==For an existing core module==
Do not directly modify an existing template.
Do not directly modify an existing template.
+
Although it is possible to copy the file of the template used as example into a new name in same directory and edit it to change content it is strongly recommended not to modify any core file or structure(If you want to fix something use the project Github page to propose your changes).
Although it is possible to copy the file of the template used as example into a new name in same directory and edit it to change content it is strongly recommended not to modify any core file or structure(If you want to fix something use the project Github page to propose your changes).
Line 81:
Line 82:
#'$this->name = "cyan";' to '$this->name = "mycompanyblue";'.
#'$this->name = "cyan";' to '$this->name = "mycompanyblue";'.
#'$this->description = $langs->trans('DocModelCyanDescription');' to '$this->description = $langs->trans('DocModelCyanDescription');'.
#'$this->description = $langs->trans('DocModelCyanDescription');' to '$this->description = $langs->trans('DocModelCyanDescription');'.
−
#Save file.
+
#Save file.
+
Now the template will be available in the list of models in Dolibarr.
Now the template will be available in the list of models in Dolibarr.