ialhamdazeez Posted October 6, 2019 Share Posted October 6, 2019 I have a question on how prestashop works with adding js or css the head. I have programmed a module. my module register hook Header, create a js file, then add it to the header. But when I want to remove the js file from the header, my module just delete the file from the server. Is it a good approach ? or should I use removeJS? In orther word. When calling addJS method is the change permenant or temporary? Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted October 7, 2019 Share Posted October 7, 2019 Hi.. Here is documentation https://devdocs.prestashop.com/1.7/themes/getting-started/asset-management/ 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