1

Hey I am trying to declare an observer from xml but it doesn't work. This is my xml:

<config>
<global>
            <events>
                <review_save_after>
                    <observers>
                        <mynamespace_mymodule_review_save_after>
                            <type>singleton</type>
                            <class>Mynamespace_Mymodule_Model_Observers_Review</class>
                            <method>redirectSuccess</method>
                        </mynamespace_mymodule_review_save_after>
                    </observers>
                </review_save_after>
            </events>
</global>
</config>

I put an exit in my redirectSuccess function, but it doesn't go there. I guess something is wrong with my xml. Can you help me ? thx

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.