Magento – Custom background of the Theme (CSS, Html, etc.)

Share

We are familiar with the Magento Custom Theme front the basic method: log back into the System-> Configuration-> General (Group) -> Design, Package, Theme Department may specify what you want Theme directory.

But the background Theme customization, you need in your module etc / config.xml specify configuration items, such as:

<config>
    <!-- Other Configuration ..... -->
    <stores>
        <admin>
            <design>
                <package>
                    <name>{package_name}</name>
                </package>
                <theme>
                    <default>{theme_name}</default>
                </theme>
            </design>
        </admin>
    </stores>
</config>

Of course, the configuration can be written to app / etc / local.xml ensure that its always the last to be executed.

Comments are closed.