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

Controller rewrite

Controller file:

Copy
<?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 */ }

Config:
see link

Owner of this card:

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