Tag Archives: custom

Magento Admin Redirect

How can you redirect the user request from your custom module to Magento Admin Core module?

If my module is in the local or the community pool and we want to redirect an action from the controller in our module to a controller in the core module the easiest way to make that Magento Admin redirect is:


public function someAction() {
    //general syntax $this->_redirect("adminhtml/module/action", params)
    $this->_redirect("adminhtml/sales_order/view", array('order_id', '11'));
}