when placing cms block in our website footer like thi with the code below. We see that the block id 'shopper_footer_links' is not picked up as a separate block. (when testing with template hints + Add add Block Names to Hints it is not shown). The only block name we see is html_footer (and not the blocks that reside within it).
I am asking because we use LEsti FPC and do not want to cache shopper_footer_links. But if it is not recognized as a block it cannot be cached/not-cached separately.
question: is there an easy way so Magento does see it as a separate block id? Or does this involve writing an extension (adding the html to something like footer_after)?
Many thanks, Sean
<?php echo $this->getBlockHtml('shopper_footer_links'); ?> <?php echo $this->getChildHtml('shopper_footer_links'); ?>
and in layout xml
<reference name="footer"> <block type="cms/block" name="shopper_footer_links" after="shopper_footer_links"> <action method="setBlockId"><block_id>shopper_footer_links</block_id></action> </block> </reference>