PrestaShop Forums: How can I add an extra hook to a module ? - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


How can I add an extra hook to a module ?


How can I add an extra hook to a module ?

#1 cerberus22

    PrestaShop Apprentice

  • 02 Jan 2009
  • Members
  • PipPip
  • 279 posts

Posted 04 July 2009 - 11:23 PM

Hi all,

I am trying to add a module to a new hook I have set up called "catscooters" (as well as the standard hook on the module)

This is the standard module hook code on the module, what do I need to add to this so I can hook onto the "catscooters" hook as well as the standard hook


        function install()
{
if (!parent::install())
return false;
return $this->registerHook('productfooter');
}


All the best,
Cerberus22
Using Prestashop V1.4.4.0

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 06 July 2009 - 06:02 PM

From 1246746187:

Hi all,

I am trying to add a module to a new hook I have set up called "catscooters" (as well as the standard hook on the module)

This is the standard module hook code on the module, what do I need to add to this so I can hook onto the "catscooters" hook as well as the standard hook


        function install()
{
if (!parent::install())
return false;
return $this->registerHook('productfooter');
}


All the best,
Cerberus22


Do you still need help on this?

http://www.prestasho...in_6_easy_steps

PM me if you run in to problems





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users