Adding block B inside block A as child block is not working for me. Block A is a static block in cms page.
A category page display mode is : Static block only > displays block A
The static block has {{block type="core/template" name="contactForm" template="contacts/form.phtml"}}
.
I am trying to call a child block inside this contactForm
, which is not working.
xml layout:
<cms_page>
<reference name="contactForm">
<block type="core/template" name="customblock" template="amodule/customblock.phtml"/>
</reference>
</cms_page>
template: contacts/form.phtml has this code inside
<?php echo $this->getChild('customblock')?>