Jump to content

Loading external Javascripts in 1.7


iocoker

Recommended Posts

Hi, nice UI and lovely framework.

 

But this new version 1.7 has a flaw for us and many module developers will soon encounter this.
There is no way to load external Javascript files in the front end. You have deprecated addJS in front controller and the new registerJavascript only accepts relative path, you can't use an absolute path, it will fail silently.
 

Fine we can add <script> tag to the page but we want this to load after your core JS loads which is at the bottom-most part of the page, there's just no way to realize this. Even hookDisplayFooter is way up.

Thanks!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...