I have local.xml
like this,
<?xml version="1.0"?>
<layout>
<default>
<reference name="footer">
<block type="core/template" name="footerblock" template="footerblock.phtml" >
<block type="core/template" name="copyright" template="copyright.phtml" />
</reference>
</default>
</layout>
So in the footer, I can access child templates footer.phtml
,
<?php echo $this->getChildHtml('footerblock'); ?>
<?php echo $this->getChildHtml('copyright'); ?>
And I can access footer links in footer.phtml
file, but how can I access it in footerblock.phtml
file like this?
<?php echo $this->getChildHtml('footer_links'); ?>