tdc666 Posted March 19, 2014 Share Posted March 19, 2014 The index of my store has custom html and I want to put the "homefeatured" module in my code, but I'm having a hell of a time trying to create a new hook for it. I tried following a couple different guides, but I'm doing something wrong. Is it even possible to add a new hook to an existing module? Everything I've been reading is more geared towards adding a new hook for a new module. I'm using PrestaShop 1.5.6.2 Link to comment Share on other sites More sharing options...
dioniz Posted March 20, 2014 Share Posted March 20, 2014 Read about it here: http://www.prestashop.com/forums/topic/173027-solved-how-to-create-a-new-hook-in-15-am-i-doing-it-wrong/page-2 Link to comment Share on other sites More sharing options...
tdc666 Posted March 20, 2014 Author Share Posted March 20, 2014 i've read that and tried to follow along and couldn't get it to work. since that thread is marked solved, i didn't want to bump it with more questions. do i put a new hook in the homefeatured module? or do i just call to it's existing hook in my html? Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 21, 2014 Share Posted March 21, 2014 Maybe is clear in this nemo tut http://nemops.com/adding-hooks-to-prestashop-1-5/#.Uyv80oUv-Eo Don't forget to register the new hook! Link to comment Share on other sites More sharing options...
tdc666 Posted March 21, 2014 Author Share Posted March 21, 2014 thanks for that link, i'll check it out and see if i can make sense of this. 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