lisamiltonbayer
11/17/2017 - 11:48 AM

Magento - Create a CMS custom template

Magento - Create a CMS custom template

01. Create the following directory path: 

app/code/local/wdm/layouts/etc/

02. Create config.xml

<config>
    <global>
        <page>
            <layouts>
                <about_layout translate="label">
                    <label>WDM About Template</label>
                    <template>page/wdm-about.phtml</template>
                </about_layout>
            </layouts>
        </page>
    </global>
</config>

03. Create a new module:

Wdm_layouts.xml

<config>
    <modules>
        <WDM_Layouts>
            <active>true</active>
            <codePool>local</codePool>
        </WDM_Layouts>
    </modules>
</config>