php - why adding observer not working with me in magento -
Thanks for reading, I am trying to add new areas in the newsletter in Magenta. I searched and found what I think is the most correct but when I added my supervisor, Magenta is not saving new emails and some times the message
was a problem with subscription
appears here is the code: config.xml (my module was My_test in local):
& Lt; Supervisors & gt; & Lt; Classes & gt; Exam / newsletter_observer & lt; / Square & gt; & Lt; Method & gt; Adding & lt; / Method & gt; & Lt; / Supervisors & gt; & Lt; / Newsletter_subscriber_save_before>
and file ap / code / local / mine / test / model / newsletter / observer. Php:
class My_Test_Model_Newsletter_Observer {add public function ($ supervisor) {// now there is nothing to do ..}}
Can also help ?? Thanx in advance
@All good, I see that you have an incident name missing
& lt; Newsletter_subscriber_save_text ago & gt; & Lt; Supervisors & gt; & Lt; My_newsletter & gt; & Lt; Classes & gt; Exam / newsletter_observer & lt; / Square & gt; & Lt; Method & gt; Adding & lt; / Method & gt; & Lt; / My_newsletter & gt; & Lt; / Supervisors & gt; & Lt; / Newsletter_subscriber_save_before> More details:
Comments
Post a Comment