31,003
edits
mNo edit summary |
|||
| Line 348: | Line 348: | ||
'''When''': If in your PHP pages, you use javascript functions not available in Dolibarr (in file lib_head.js) | '''When''': If in your PHP pages, you use javascript functions not available in Dolibarr (in file lib_head.js) | ||
If you need to use your own javascripts functions inside your PHP pages, it is necessary to have your functions defined into a javascript file '''mymodule.js''' to be included inside the HTML HEAD section. | |||
To ask Dolibarr that forge this header to include your own javascript file, you must just declare your file inside the module descriptor. | |||
This feature is not yet available. | |||
= [[File:Art.png]] Run your own code on any Dolibarr event (optionnal) = | = [[File:Art.png]] Run your own code on any Dolibarr event (optionnal) = | ||