I want to add a new template, e.g 4columns for CMS page. I have the template setup, but I can’t find where to add my template in the admin so that I can use it from CMS page Layout option.
After some madness searching through drawers, I finally found it. I am attaching a screenshot, hope that it’s a little piece of userful information to others.
Hi GregC, I don’t know other method.
I’d love to find out if there is easier way too as I kept forgotten how to add the new layouts - have to come back look for my post
I didn’t understand why its not on top of the list.
I was searching a lot of time, cause i couldn’t believe its so
hard to find. At least i was taking a text search too.
At the moment you can only change the content of the given templates.
And you cant change the title of the templates.
beside you modify: app/code/core/Mage/CMs/etc/config.xml
With the next update I have to remember and to edit again.
To have a possibility to edit the layout selection in: app/design
would be little work and lot of advantage.
A possibility to manage it in the CMS would be the best.
If I add a new layout to config.xml when I upgrade it will be overwritten.
Will the pages that use the added layout no longer work? Or will you just not be able to assign the layout to any more pages until it is added back to config.xml?
Add just the <cms> blcok to the within te global tag in //home/staging/public_html/app/etc/local.xml ?
like this?
<?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-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. * * @category Mage * @package Mage_Core * @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ --> <config> <global> <install> <date><![CDATA[Tue, 15 Jul 2008 00:27:06 +0000]]></date> </install> <crypt> <key><![CDATA[cool!sets]]></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[staging_magento]]></username> <password><![CDATA[mag2341]]></password> <dbname><![CDATA[staging_magento]]></dbname> <active>1</active> </connection> </default_setup> </resources> <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> </config>