cactus20 Posted April 28, 2016 Share Posted April 28, 2016 Hi everyone, I am following the tutorial of PrestaShop page to create a new module. http://doc.prestashop.com/display/PS16/Displaying+content+on+the+front+office But i have problem with Transplant module.. My install function have this two hooks $this->registerHook('leftColumn') && $this->registerHook('header') && so in views/templates/hook forlder I create blockmymodule.php (this is the name of my method) and into this file I have public function hookDisplayLeftColumn($params) and public function hookDisplayRightColumn($params) But when I go to Transplant a module don't see any position and if I save I obtain a error messages: Hook cannot be loaded. Any idea? Thanks in advance Link to comment Share on other sites More sharing options...
tuk66 Posted May 2, 2016 Share Posted May 2, 2016 What version do you use? I saw that the registerHook method didn't work without apparent cause. Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2016 Share Posted May 2, 2016 can you please try to use hookdisplayLeftColumn instead hookDisplayLeftColumn ? 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