jumbo Posted November 1, 2011 Share Posted November 1, 2011 Ok, I've been through some articles on how to add a new hook, one of which is Julien Breux's.... But the articles are not complete or clear enough... In which files exactly do I need to place the code for the new hook? Let's say I want to add a new hook on the home page, to show a block right before the HOME hook... On index.tpl, I simply have the following code: {$HOOK_HOME} So I guess I will have to add something like {$HOOK_MYHOOK} just before this one (and after adding the new hook to the table "ps_hook") But what should I do next? My aim is to show the featured products block just after the top of the page and before the HOME block Link to comment Share on other sites More sharing options...
jumbo Posted November 2, 2011 Author Share Posted November 2, 2011 anyone can help me with this? Link to comment Share on other sites More sharing options...
jumbo Posted November 2, 2011 Author Share Posted November 2, 2011 I'm glad nobody answered.... I think Prestashop should put more effort into promoting the forum and supporting the community The answer to my question, I found it in this article: http://landofcoder.com/prestashop/guides/how-to-add-new-hook-in-prestashop-14.html 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