pabloMarch Posted April 1, 2018 Share Posted April 1, 2018 Hello everybody, I was trying to activate a hook called "displayFooterAfter" but I couldn't get it to work. I tried to register it on many ways but the hook never shows up, I tried to install it on one of the prestashop modules and also creating a override like this: <?php use PrestaShop\PrestaShop\Core\Module\WidgetInterface; class Ps_XXXOverride extends Ps_XXX implements WidgetInterface { public function install() { return (parent::install() && $this->registerHook('displayFooterAfter')); } } I cleaned the cache, tried replace the "displayFooterBefore" on modules\ps_socialfollow and nothing happend as say on the frech post:https://www.prestashop.com/forums/topic/615223-comment-afficher-un-module-dans-un-hook/ Does anyone resolve this issue? Thanks in advance, Pablo Link to comment Share on other sites More sharing options...
pabloMarch Posted April 2, 2018 Author Share Posted April 2, 2018 (edited) I found the solution to this issue, if you want to show a new hook in "BackOffice > Design > Positions" follow this guide: https://stackoverflow.com/questions/41527733/custom-hooks-in-prestashop-1-7 Edited April 3, 2018 by pabloMarch (see edit history) Link to comment Share on other sites More sharing options...
tantan199 Posted April 3, 2018 Share Posted April 3, 2018 On 2018/4/2 at 3:18 PM, pabloMarch said: I found the solution to this issue, if you want to show a new hook in "BackOffice > Design > Positions" follow this guide: https://stackoverflow.com/questions/41527733/custom-hooks-in-prestashop-1-7 Thanks for the solution. 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