Hi all, I’m trying to change the theme of the logni box to the admin interface, so I decided to rewrite the indexController.php and add a setTheme command into my new one (I checked, the method works by adding it into the old controller, but I dont want to go rewriting the old controller).
The problem is that I’m getting a 404 when visiting /admin/ - which is good in one way as it shows my config.xml is doing something! But I can’t seem to get the rewrite working correctly, can anyone help?
My controller is in local/Adtrak/Adminhtml/controllers/IndexController.php, and looks like:
* Overloaded adminhtml index controller, used to set the theme for the login page
class Adtrak_Adminhtml_IndexController extends Mage_Adminhtml_IndexController
public function loginAction()
And I’ve made a config.xml which looks like: