Hi,
I have been writing a few custom actions in order to integrate MW with our custom "frontend" system.
I am trying to figure out your hook syntax. Please could you give a bit of insight in to their structure.
So, for example i would like to execute an action (save the information to another database) after the customer saves their profile information on the customer/index.php/account/index page.
I have tried something like this, but it doesn't seem to work:
Yii::app()->hooks->doAction('customer_controller_account_before_save_data', array($this, '_SayHello'));
I will be doing a bit more of this type of work, so it would be good to understand how the hooks work.
Thanks!
I have been writing a few custom actions in order to integrate MW with our custom "frontend" system.
I am trying to figure out your hook syntax. Please could you give a bit of insight in to their structure.
So, for example i would like to execute an action (save the information to another database) after the customer saves their profile information on the customer/index.php/account/index page.
I have tried something like this, but it doesn't seem to work:
Yii::app()->hooks->doAction('customer_controller_account_before_save_data', array($this, '_SayHello'));
I will be doing a bit more of this type of work, so it would be good to understand how the hooks work.
Thanks!