where is getMessagesBlock() method located (Magento 1.9)

I want to know where is the code of getMessagesBlock() method,

which is called in template:- persistent/customer/form/register.phtml

I want to customize the method and the messages


You can find at two places where you can changes as per your requirements,



One Method is inside Compiler Module,


You can override core method in local folder and do your changes.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.