Create an ODT or ODS document template: Difference between revisions

Jump to navigation Jump to search
Line 116: Line 116:
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:
* Create a file into one of those locations:
* Create a file into one of those locations:
'''htdocs/core/substitutions/functions_mymodule.lib.php''' with v3.2 or above
'''htdocs/core/substitutions/functions_mymodule.lib.php''' or
'''htdocs/mymodule/core/substitutions/functions_mymodule.lib.php''' with v3.2 or above
'''htdocs/mymodule/core/substitutions/functions_mymodule.lib.php'''
'''htdocs/includes/modules/substitutions/functions_mymodule.lib.php''' with version 3.1 or previous
* 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