Old version of symphony here... so just FYI.
Had to add a (weight?) param to the end of addScriptToHead()
Administration::instance()->Page->addScriptToHead(URL.'/extensions/backend_add_script/assets/custom.js', 73);
Otherwise the custom.js file would be embedded before jquery was added to the page. Which causes problems if you actually want to use JQuery.
Thanks,
Tim
Old version of symphony here... so just FYI.
Had to add a (weight?) param to the end of addScriptToHead()
Administration::instance()->Page->addScriptToHead(URL.'/extensions/backend_add_script/assets/custom.js', 73);
Otherwise the custom.js file would be embedded before jquery was added to the page. Which causes problems if you actually want to use JQuery.
Thanks,
Tim