Magento News

 

Overriding Config Controller?

Can any one please tell me how to override config controller in magento. I have attatched my config code below :

<config>
<modules>
    <Adodis_Themechooser>
        <version>0.1.0</version>
    </Adodis_Themechooser>
</modules>
    <adminhtml>
    <acl>
        <resources>
            <all>
                <title>Allow Everything</title>
            </all>
            <admin>
                <children>
                    <Adodis_Themechooser>
                        <title>Themechooser Module</title>
                        <sort_order>10</sort_order>
                    </Adodis_Themechooser>
                    <system>
                        <children>
                            <config>
                                <children>
                                    <themechooser>
                                        <title>Themechooser</title>
                                    </themechooser>
                                </children>
                            </config>
                        </children>
                    </system>
                </children>
            </admin>
        </resources>
    </acl>
</adminhtml>
<global>

            <adminhtml>
                 <rewrite>
                    <themechooser_config>
                        <from><![CDATA[#^/admin/system_config/#]]></from>
                        <to>/themechooser/config/</to>
                    </themechooser_config>
                </rewrite>
            </adminhtml>

    <models>
        <themechooser>
            <class>Adodis_Themechooser_Model</class>
        </themechooser>
    </models>
    <helpers>
        <themechooser>
            <class>Adodis_Themechooser_Helper</class>
        </themechooser>
    </helpers>
 </global>
 </config>

Overriding Config Controller?

Possibly Related Posts:


 

Leave a Reply