Magento : How to Override Magento Admin Template OR Theme

Theme and view is very important functionality of any website, there are a lot of e-commerce CMS which is used to create online store but magento is above all of theme. Magento provide great customization features for developers, here we will learn how to customized magento admin template. We are overriding magento admin base theme to our testtheme theme. The location of theme in magento is /htdocs/demo_magento/app/design/adminhtml/default/testtheme.We will paste all the template and layout file here.

You can also check other tutorial of magento theme,

Step 1: I am pasting only single file for override the view functionality of core customer module on /testtheme/template/customer/tab/ view.phtml.

Step 2: Now we will edit constructor method of page.php.

public function __construct()  
    {  
//set theme  
     Mage::getDesign()->setTheme(‘testtheme’);  
        parent::__construct();  
        $this->setTemplate(‘page.phtml’);  
        $action = Mage::app()->getFrontController()->getAction();  
        if ($action) {  
            $this->addBodyClass($action->getFullActionName(‘-’));  
        }  
    }  

I Hope it’s help you.