I'm still struggling with magento. I have a 3 column layout but want to place yet another widget in the outer right of the content with <?php echo $this->getChildHtml('outer-right') ?>
.
How do I create a .phtml file with the stuff to be output when <?php echo $this->getChildHtml('outer-right') ?>
is invoked?
Thanks.
You just need to add/stuff your blocks via your layout.xml file inside a block called 'outer-right' in the correct layout handle. When your layout handle is active you will be able to fetch its html by getChildHtml('outer-right')
<cms_index_index>
<block type="core/template" name="outer-right" template="xyz.phtml">
<block type="core/template" name="inside-outer-right-1" template="inside.phtml"/>
<block type="core/template" name="inside-outer-right-2" template="inside2.phtml"/>
</block>
</cms_index_index>