Magento Custom CMS Page Layouts Module
The Jnorton CMS Templates module provides additional customer templates for use in various sections of a Magento website. The main purpose of the module is to allow a developer and store owner to use custom layouts for CMS pages.
After successfully installing the module you will have a new custom layout in your Magento CMS page edit screen:
The default custom layout that ships with the module is based on the base theme's 1 column layout and is used for demonstration purposes. To add more templates, simply edit the module's configuration file.
Original:
<config>
<global>
<page>
<layouts>
<custom_layout>
<label>Custom CMS Page</label>
<template>page/custom-1column.phtml</template>
<layout_handle>custom_layout</layout_handle>
</custom_layout>
</layouts>
</page>
</global>
</config>
With additional templates specified:
<config>
<global>
<page>
<layouts>
<custom_layout>
<label>Custom CMS Page</label>
<template>page/custom-1column.phtml</template>
<layout_handle>custom_layout</layout_handle>
</custom_layout>
<another_custom_layout>
<label>Another Custom CMS Page</label>
<template>page/custom-1column.phtml</template>
<layout_handle>another_custom_layout</layout_handle>
</another_custom_layout>
</layouts>
</page>
</global>
</config>
Installation:
- Download the module and unzip
- Open FTP client, navigate to Magento root folder (where /app lives) and upload the modules app folder.
Customisation:
- Open the config.xml file in: /app/code/local/JNorton/CmsTemplates/etc/config.xml - here you can add new custom Magento CMS page configurations
- Open the example custom CMS page in: /app/design/frontend/base/default/template/page/custom-1column.phtml - edit this page, copy it, rename it, do whatever you like to it.
I hope you enjoy the module, it has saved me in numerous situations where I need a page for one off promotions or seasonal landing pages.
Tested with Magento versions 1.4 - 1.7
Release Notes:
Tested with Magento versions 1.4 - 1.7