Я создал собственный шаблон для своей домашней страницы. Я создал ниже файлов:
1. приложение/и т.д./модули/Test_Layout.xmlMagento custom template
<?xml version="1.0"?>
<config>
<modules>
<Test_Layout>
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Page />
</depends>
</Test_Layout>
</modules>
</config>
2. Приложение/код/местные/Test/Layout/и т.д./config.xml
<?xml version="1.0"?>
<config>
<modules>
<Test_Layout>
<version>0.1.0</version>
</Test_Layout>
</modules>
<global>
<page>
<layouts>
<test_layout translate="label">
<label>Test Layout</label>
<template>page/home.phtml</template>
<layout_handle>page_home</layout_handle>
</test_layout>
</layouts>
</page>
</global>
</config>
3. app/etc/modules/Mage-All.xml и добавьте туда мой модуль.
4. После этого мой новый модуль находится в списке sys-> config-> advanced-> advanced и
5. затем я установил CMS-> Pages-> Design-> Custom Layout-> Test макет & Пользовательские Theme-> Defualt/тест (результат появляется в раскрывающихся списках.)
6.Beside это, я поставил макет Custome/page.xml:
<block type="page/html" name="root" output="toHtml" template="page/home.phtml">
(Я не уверен насчет типа)
Результат: Magento использует мою собственную страницу.xml, но она не использует свой шаблон «template/home.phtml» и использует свой шаблон по умолчанию.
Не могли бы вы мне помочь? - Thx
http://cmsblogheart.wordpress.com/2014/02/11/magento-custom-page-templates-using-xml/ –