cyberpunk Posted July 7, 2015 Share Posted July 7, 2015 New to prestashop. I'm trying to locate code for the hook on line 93: Link to comment Share on other sites More sharing options...
vekia Posted July 7, 2015 Share Posted July 7, 2015 hello i don't understand the question but: if you want to add js files to your header just use "displayHeader" hook and AddJs function from context class Link to comment Share on other sites More sharing options...
cyberpunk Posted July 7, 2015 Author Share Posted July 7, 2015 hello i don't understand the question but: if you want to add js files to your header just use "displayHeader" hook and AddJs function from context class As I said new to PS. I want to alter/remove a script that is added through the hook. Where is the context class? Link to comment Share on other sites More sharing options...
vekia Posted July 7, 2015 Share Posted July 7, 2015 if you want to remove js scripts from head go to modules > positions search there for "displayHeader" section and "unhook" unwanted modules from this section then module will not load js / css files in this hook. 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