Failing to Override Admin PHTML in Magento 1.7

adminhtmlce-1.7.0.2overrides

I'm following the tutorial link below (first method), but I am not succeeding:

http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/how_to_customize_backend_template_f.e._sales_order_information

I start creating my module on app/etc/modules/Fouron_Sales.xml:

<?xml version="1.0" encoding="utf-8"?>
<config>
    <modules>
        <Fouron_Sales> 
            <active>true</active>
            <codePool>local</codePool>
        </Fouron_Sales>
    </modules>
    <default>
        <blocks>
            <adminhtml>
                <rewrite>
                    <sales_order_view_info>Mage_Fouron_Sales_Block_Sales_Order_View_Info</sales_order_view_info>
                </rewrite>
            </adminhtml>
        </blocks>
    </default>
</config>

After I created at app/code/local/Fouron/Sales/Block/Sales/Order/View/Info.php:

<?php

class Mage_Fouron_Sales_Block_Sales_Order_View_Info extends Mage_Adminhtml_Block_Sales_Order_View_Info
{
    protected function _construct()
    {
        $this->setTemplate('fouron/sales/order/view/info.phtml');
    }     
}

And finally the file app/design/adminhtml/default/default/fouron/sales/order/view/info.phtml

I spend hours with this and tried some other modifications unsuccessfully, any help will be great. Thanks.

Best Answer

Another way to accomplish this since a lot of other paid module my customize this files, is to create a custom admin theme

In /app/etc/local.xml

 <stores>
    <admin>
        <design>
            <package>
                <name>default</name>
            </package>
            <theme>
                <default>fouron</default>
            </theme>
        </design>
    </admin>
</stores>

Then copy

app/design/adminhtml/default/default/sales/order/view/info.phtml

to (and then make all your changes to this file)

app/design/adminhtml/default/fouron/sales/order/view/info.phtml