Jump to content

[Solved] How can I create a new hook for holding module(s) ?


John-nl

Recommended Posts

By default Prestahop uses displayNav1 and displayNav2 to display modules in header.tpl.

I want to create a new hook displayNav3 so I can assign modules to it using positions in the BO. I have added displayNav3 at the ps_hook table, but this hook is not visible as a new (empty) hook on the positions page.

What am I missing? 

Edited by John-nl (see edit history)
Link to comment
Share on other sites

Hi,

Thanks for your answer. I understand the {hook h='displayNav3'} part in .tpl files.

But i don't think that i need to register a new module. I don't have one :-) displayNav2 is a hook with 4 modules. I wan't to create displayNav3 with 1 existing module.

Any suggestions? 

 

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