I am trying to add a custom block to just the homepage. All pages use the same template which is 1column.phtml
In this file I have added a customblock above the content:
<?php echo $this->getChildHtml('customblock') ?>
<?php echo $this->getChildHtml('content') ?>
In my layout.xml within here (I'm guessing this is the hompage?):
<cms_index_index translate="label">
I have added this:
<reference name="notsurethisshouldbe">
<block type="core/template" name="customblock" template="homepage/customblock.phtml" />
</reference>
In template/homepage/customblock.phtml
I have a simple page:
<?php
echo "testing testing 123";
?>
However nothing is showing up. What have I done wrong?
Thanks