Ok, So I've made a module and use it to manage all the custom layouts on my store. Now I need to just add some blocks to certain pages using the template. I added the following line to my custom layout:
<?php echo $this->getChildHtml('cms_left') ?>
And inside the Update Layout XML I added the following:
<reference name="cms_left">
<block type="cms/block" name="cms_left_test" before="-">
<action method="setBlockId"><block_id>cms_left_test</block_id></action>
</block>
</reference>
And encase its relevent here is part the relevant part of my moudles config.xml that handles this custom layout:
<cms_pages module="page" translate="label">
<label>cms pages</label>
<template>page/cms_pages.phtml</template>
<layout_handle>cms pages</layout_handle>
</cms_pages>
From what I know this should now display the cms_left_test block on this page, however it;s not working. Have I missed out a step somewhere? I tried looking up some examples, but because I'm drawing bits and pieces from all over I'm not sure if my approach is totally correct.