I want to extend a core controller:


I simply want to customise the one of the functions. I have created the following file:


My class is as follows:

class Mage_Adminhtml_CustomerController extends Mage_Adminhtml_CustomerController

All of the examples I have found similar to this metion the need to add an entry into my config.xml. But in my case this is not part of a cutom module since it is in the dir which mirrors the core - in local.

I simply want the customer controller to execute as well as my entension of it. If I add a die() in my extended controller class it doesn't fire. I have flushed the cache and logged out and back into admin.

What am I doing worng?

1 Answer 1


Your custom class name should be same as original.



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.