miff Posted September 5, 2012 Share Posted September 5, 2012 (edited) Hello, How do I set the layered navigation block appears in a new column (new hook) Thanks Edited November 6, 2012 by miff (see edit history) Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 5, 2012 Share Posted September 5, 2012 Hi. If it is not a default hook, you need to create a new function for that hook and transplant the module to it. If the hook is a default PS hook, you can just transplant the module to it, but only if the module has the function for that hook, otherwise you need to create it. Regards. Robin. The CartExpert Team 1 Link to comment Share on other sites More sharing options...
miff Posted September 7, 2012 Author Share Posted September 7, 2012 Thanks Robin, I did something like that, and it works. Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 7, 2012 Share Posted September 7, 2012 Thanks Robin, I did something like that, and it works. Happy to have helped. Please mark the topic as [sOLVED] Regards. Robin. The CartExpert Team Link to comment Share on other sites More sharing options...
revert Posted January 14, 2013 Share Posted January 14, 2013 Can you post the solution here? Tried, but not wors: 1 Created new hook in database 2 Created new function to setup custom hook in module public function hookCategoryFilters($params) { return $this->hookLeftColumn($params); } 3 Tried assign module to this hook, but error accured: This module cannot be transplanted to this hook. To display the hook have i {$HOOK_CATEGORY_FILTERS} in category.tpl and 'HOOK_CATEGORY_FILTERS' => Hook::exec('displayCategoryFilters') in CategoryController use PS 1.5.3 Thank you Link to comment Share on other sites More sharing options...
lav3pa Posted January 15, 2014 Share Posted January 15, 2014 Can you post the solution here? Tried, but not wors: 1 Created new hook in database 2 Created new function to setup custom hook in module public function hookCategoryFilters($params) { return $this->hookLeftColumn($params); } 3 Tried assign module to this hook, but error accured: This module cannot be transplanted to this hook. To display the hook have i {$HOOK_CATEGORY_FILTERS} in category.tpl and 'HOOK_CATEGORY_FILTERS' => Hook::exec('displayCategoryFilters') in CategoryController use PS 1.5.3 Thank you Any luck with this? I use 1.5.6.1 and whas trying to do it using this http://www.prestashop.com/forums/topic/2182[spam-filter]create-custom-and-new-hook-in-ps-15/ 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