Since a few hours, I’m trying to overload GroupController.php (an adminhtml controller) without succes. I’ve read the wiki page dealing with controller overloading but I’m stucked.
Here’s what I’ve done:
Create the required path in my app/code/ dir :
mkdir -p local/AsRenzoCorp/Adminhtml/controllers/Customer/
Copy the original file into this brand new folder
cp core/Mage/Adminhtml/controllers/Customer/GroupController.php local/AsRenzoCorp/Adminhtml/controllers/Customer/GroupController.php
I placed some code of my own in this file but I can’t tell Magento to use this file instead of the original one.
I tried some rewrite in my local.xml file but I can’t seem to find the right one.
Does anybody have a xml node to save me ??