Create an ODT or ODS document template: Difference between revisions

Jump to navigation Jump to search
Line 111: Line 111:
=== Other personalized tags ===
=== Other personalized tags ===
If you want to add a field that is not predefined, this is the solution:
If you want to add a field that is not predefined, this is the solution:
* Add a file into htdocs/includes/modules/substitutions/functions_mymodule.lib.php
* Add a file into '''htdocs/core/modules/substitutions/functions_mymodule.lib.php''' (htdocs/includes/modules/substitutions/functions_mymodule.lib.php with 3.1-)
* Inside this file, just write one function like this:
* Inside this file, just write one function like this:
<source lang="php">
<source lang="php">

Navigation menu