labm0nkey Posted October 21, 2014 Share Posted October 21, 2014 Hello. In my case i want to update jquery plugin "autocomplete" to newer version. This plugin is loaded by prestashop from folder "root/js/jquery/plugins". I really can't find any way to override it by my own version from theme's folder or from "override" folder. I could just add <script> line into header.tpl file but then this script would be doubled (old and new version at once). It would be also nice to know where are all files from folders /js and /css loaded and how to disable them. I triend setMedia() in FrontController but that's not it. Link to comment Share on other sites More sharing options...
Krystian Podemski Posted October 21, 2014 Share Posted October 21, 2014 Hello, If you're developer you can create your own module, remove autocomplete from JS array and add your version of autocomplete. You need to check classes/controller/Controller.php - removeJS method 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