Jump to content

error to transplant new Module


Recommended Posts

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 

 

 

post-1241440-0-75719400-1461858069_thumb.png

post-1241440-0-28765800-1461858071_thumb.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...