Jump to content

How to hook editorial on top page (Sloved)


Recommended Posts

hi,

you have to add hock Metod for top hooks

make a backup of file : prestashop\modules\editorial\editorial.php
edit file : prestashop\modules\editorial\editorial.php


[ADD]

/**
* Returns module content for header
*
* @param array $params Parameters
* @return string Content
*/
function hookTop($params)
{
   return $this->hookHome($params);
}



[bEFORE] the last "}"




hook edit module with back office module position

that it ;)

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