iocoker Posted November 27, 2016 Share Posted November 27, 2016 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! 1 Link to comment Share on other sites More sharing options...
J. Danse Posted November 27, 2016 Share Posted November 27, 2016 Hi, You will need the 1.7.0.2 version of PrestaShop, where the corresponding Pull Request (https://github.com/PrestaShop/PrestaShop/pull/6918) will be in. 1 Link to comment Share on other sites More sharing options...
iocoker Posted November 27, 2016 Author Share Posted November 27, 2016 Thanks so much! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now