1

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

1

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

app/code/core/Mage/Core/Block/Abstract.php

app/code/core/Mage/Core/Model/Layout.php

One Method is inside Compiler Module,

app/code/core/Mage/Compiler/Block/Process.php

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

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.