Studyon Minte9.com
Magento




Overwrite core block



1) Create local module (My/Customer)

	-- app/code/local/My/Customer/
	-- app/code/local/My/Customer/Block/Form/Register.php

2) Add block rewrite in config.xml

	-- app/code/local/My/Customer/etc/config.xml
	
	<global>
		<blocks>
			<customer><rewrite><form_register>Animall_Customer_Block_Form_Register
</form_register></rewrite></customer>
		</blocks>
	</global>

3) Template overwrite
	
	-- app/design/frontend/my/modern/template/customer/form/register.phtml



Be aware of the persistent template (added from Magento 1.6.0.0 form login user & shopping cart) 

	-- app/design/frontend/base/default/template/customer/form/register.phtml


http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/