prestahench Posted May 31, 2017 Share Posted May 31, 2017 So I added this hook with a custom module I made, into header.tpl of Classic theme. this is the code: https://pastebin.com/ynMTb9fh As you can see I added the hook into the bottom of the code. Everything works on FRONT end however I can see my header at the bottom of some pages in the back office. Not only I see my header at the bottom of those pages but it also breaks all the layout and it makes impossible to work on some pages. For example the adding product screen is all bugged. So my 2 questions: How can I add an IF to tell prestashop to show this module on front end only? How can I include a custom hook in the header? 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