I am trying to override the block Mage_Customer_Form_Register

I have written this in my config.xml


And this is not working as the methods I wrote in my local overriden block are not getting called.

And as the register.phtml is written in Persistent module,

So now how I can override this block ?

1 Answer 1


Use below code:

config.xml file as below

<?xml version="1.0"?>

Your block file Register.php file at app/code/MyWeb/Brand/Block/Form/Register.php

add below code to it


class MyWeb_Brand_Block_Form_Register extends Mage_Customer_Block_Form_Register

Note: Change module name as per your module


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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