I’ve spend some time lately thinking how can I modify and add some new functionality in config.xml files. Sometimes I dont like to use rewirtes just to add a one method to core model or core block.
I’ve come up with an idea to add new methods to core models/blocks in config.xml file, I’ve done some core modifications and I was able to do it. In config.xml I add new xpath: <methods> under models / blocks
I even went little further and modified base magento controllers classes and now I am able to add an action to an existing controller from config.xml file
This way I dont have to overwrite CORE controller, I’m just adding a new action to it in config.xml file.
Same goes for models and blocks.
I’m also planing on extending magento helpers the same way.
If anyone is interested, I can send you modified magento code to your email address.