Magento Store - Remove Block using Update XML

Posted by a1anm on Stack Overflow See other posts from Stack Overflow or by a1anm
Published on 2010-01-15T03:16:42Z Indexed on 2010/04/17 17:53 UTC
Read the original article Hit count: 291

Filed under:

I am using this code in my template file to display a static block in my left sidebar:

<?= $this->getLayout()->createBlock('cms/block')->setBlockId('leftSB1')->toHtml() ?>

I would like to exclude the block from one of my CMS pages. How do I do this?

I think it requires adding code to the 'Layout Update XML' section but I'm not sure what exactly.

© Stack Overflow or respective owner

Related posts about magento