Jump to content

How to add view Hook's?


Recommended Posts

Hi everyone!

 

I would like to create a new theme but I would like to put the categories block to display in the header...

 

I understand that I need to insert a function with the new hook... But witch file do I need to insert this new hook in to...

 

PS: I'm new to smarty...

Link to comment
Share on other sites

  • 3 months later...

go to modules/blockcategories/blockcategories.php and add a method called

 

 

public function hookHeader($params)

{

// copy one of the other hooks in the same class and modifie it to your needs

}

 

then go to modules, posision, then add blockCategories to the header hook

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