Codegento Who Let Mage Out Of The Cage?

12Mar/114

Rewriting Or Rerouting A Controller

Posted by Ben Robie

Just as with models/blocks/helpers, there are times when we want to change the way a core Magento controller works. Since we DON’T EVER WANT TO CHANGE THE CORE, we need a way to tell a request to use OUR controller instead of Magento’s controller. We do this by changing the configurations that hold the routing [...]

Read More...
20Feb/110

Creating A Controller

Posted by Ben Robie

Ah, the C in MVC. Besides the index.php where all requests originate, the first point of contact into your application is the controller. Magento controllers are no different. A controller class is the class that contains action functions that know how to deal with each specific request. Most of the time, you will want to [...]

Read More...