• 29th, Sep 2011

Create a new layout to Magento, using at CMS design tab

Just edit your /app/etc/local.xml as follows

<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   Mage
 * @package    Mage_Core
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
-->
<config>
    <global>
        <install>
            <date><![CDATA[Fri, 23 Sep 2011 21:21:44 +0000]]></date>
        </install>
        <crypt>
            <key><![CDATA[ba07d498e63a98eb6e31be0720000000]]></key>
        </crypt>
        <disable_local_modules>false</disable_local_modules>
        <resources>
            <db>
                <table_prefix><![CDATA[]]></table_prefix>
            </db>
            <default_setup>
                <connection>
                    <host><![CDATA[localhost]]></host>
                    <username><![CDATA[root]]></username>
                    <password><![CDATA[root]]></password>
                    <dbname><![CDATA[magento]]></dbname>
                    <initStatements><![CDATA[SET NAMES utf8]]></initStatements>
                    <model><![CDATA[mysql4]]></model>
                    <type><![CDATA[pdo_mysql]]></type>
                    <pdoType><![CDATA[]]></pdoType>
                    <active>1</active>
                </connection>
            </default_setup>
        </resources>
        <session_save><![CDATA[files]]></session_save>
		<cms>
            <layouts>
                <empty>
                    <label>Empty</label>
                    <template>page/one-column.phtml</template>
                </empty>
                <one_column>
                    <label>1 column</label>
                    <template>page/1column.phtml</template>
                </one_column>
                <one_column_home>
                    <label>1 column home</label>
                    <template>page/1column-home.phtml</template>
                </one_column_home>
                <two_columns_left>
                    <label>2 columns with left bar</label>
                    <template>page/2columns-left.phtml</template>
                </two_columns_left>
                <two_columns_right>
                    <label>2 columns with right bar</label>
                    <template>page/2columns-right.phtml</template>
                </two_columns_right>
                <three_columns>
                    <label>3 columns</label>
                    <template>page/3columns.phtml</template>
                </three_columns>
            </layouts>
        </cms>
    </global>
    <admin>
        <routers>
            <adminhtml>
                <args>
                    <frontName><![CDATA[admin]]></frontName>
                </args>
            </adminhtml>
        </routers>
    </admin>
</config>

TAGS: None

Leave a Reply

*

© 2010 unexpected[it]. All Rights Reserved.