I'm hoping someone can help me with this. I've been trying to add a custom template to the list of available layouts when adding a CMS page to magento. I've followed this tutorial.
However, my custom template is not showing in the list of available layouts. I have been able to do this successfully by hacking the magneto core file as described at the end of that article, but would prefer to do it as a module.
I have created the following files
app/code/local/mycustom/template/config.xml
<?xml version="1.0"?>
<config>
<modules>
<mycustom_template>
<version>0.1.0</version>
</mycustom_template>
</modules>
<global>
<page>
<layouts>
<home translate="label">
<label>Home Page</label>
<template>page/home.phtml</template>
<layout_handle>custom_homepage</layout_handle>
</home>
</layouts>
</page>
</global>
</config>
and app/etc/modules/mycustom_template.xml
<?xml version="1.0"?>
<config>
<modules>
<mycustom_template>
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Page />
</depends>
</mycustom_template>
</modules>
</config>