Module development: Difference between revisions

Jump to navigation Jump to search
Line 361: Line 361:
To ask Dolibarr that forge this header to include your own javascript file, you must just provide it to the llxHeader() function called by your page.
To ask Dolibarr that forge this header to include your own javascript file, you must just provide it to the llxHeader() function called by your page.


Example for /mymodule/mypage.php :
Example for page /htdocs/mymodule/mypage.php :
<source lang="php">
<source lang="php">
require('../main.inc.php');
require('../main.inc.php');

Navigation menu