Posted over 5 years ago. Visible to the public. Linked content.

Controller rewrite

Controller file:

<?php /** * Controllers are not loaded with autoloader, * to extend a controller class we need to first call the actual class file * ExtendableController is that class fileName! */ require_once Mage::getBaseDir('code') . '/core/Mage/ModuleName/controllers/ExtendableController.php'; class Namespace_Module_SomeController extends Mage_ModuleName_ExtendableController { /** * your controller actions here */ }

see link

Owner of this card:

Last edit:
over 2 years ago
by Mike Whitby
Posted by Gaia to Magento
This website uses cookies to improve usability and analyze traffic.
Accept or learn more