I need to display some more links in the footer. I created these links in magento admin as static blocks (id = sample_links).
and then I added the following file with page.xml code
<reference name="foot_lnk"> <block type="cms/block" name="sample_block" before="-"> <action method="setBlockId"><block_id>sample_links</block_id></action> </block> </reference>
I called it in footer.phtml as,
<?php echo $this->getChildHtml('foot_lnk') ?>
but it does not display the contents of a static CMS block. what is the problem?
php block content-management-system magento
Ravichandran jothi
source share