1
Hi All,
I need to include javascript into my code but I also need to pass a smarty variable (namely $xoops_url). So the only way I can see to do this is by putting the code into theme.html. But I would much rather include a path to the js file to make the code cleaner.
Right now I have temporarily hard coded the path instead of putting it into theme.html.
Any suggestions?
Thanks in advance.