How to add <script> tag to template's index.php from modules - Joomla! Forum - community, help and support
i create modules package. have write <script> ...</script> tag in template index.php file (in header), before installation.
if don't write <script> ...</script> in template header before installation, module doesn't work correctly
how can add automatically <script> ..</script> tag in template header, module ?
if don't write <script> ...</script> in template header before installation, module doesn't work correctly
how can add automatically <script> ..</script> tag in template header, module ?
use jhtml::script
code: select all
jhtml::script("yourscript.js", $scriptpath, false);
Comments
Post a Comment