Jump to content

Change/Transplant module to the new "hook" for top horizontal menu?


Recommended Posts

I created a new hook with name "DisplayMyMenu", i go to Modules->Positions->Transplant a module

 

if i try to change hook for this module i get error message: This module cannot be transplanted to this hook.

 

What have i to do to change it?

Link to comment
Share on other sites

Sorry but i'm newbe in prestashop, where can i add new hook in this module? Is this a part of code or backoffice?

 

Hi, it's part of the actual module code.  They all work the same way so just take a look at a native ps module to see how to register hook and execute funciton.  Note: you will need to uninsall/install module after code update to register hook.  You might find this link useful: http://doc.prestashop.com/display/PS16/Creating+a+first+module

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...