Back home
Mark Shust

Written by Mark Shust, a Certified Magento Developer, Architect & Teacher in Cleveland, Ohio.
Follow me @markshust

Controlling how static blocks are displayed in Magento

June 29, 2011   ·   1 min read  ·   Edit on GitHub

To disable a static block globally, go to CMS > Static Blocks > Select One > set Status = Disabled > Save

To control the disable of static blocks on various pages, to go CMS > Widgets > Select One > Reference “Layout Updates” section

To remove a specific block for a specific page, go to CMS > Pages > Manage Content > Select One

Click the currently published Revision number on the initial page > Click the Design tab on the left

In the Layout XML section paste in the appropriate block of code dependent on the block you want to remove, for example to unset everything from the left sidebar:

<reference name="left">
    <action method="unsetChildren"></action>

To unset a certain static block (named nameofblock) from the right sidebar:

<reference name="right">
    <action method="unsetChild">

You can find the id of the static block by going to CMS > Static Blocks and looking up the value in the column Identifier.

Share On Twitter
Let others know about this article

Learning Magento?

I'll let you know when I create something new related to Magento including blog posts, courses & more.

    I won't send you spam. Unsubscribe at any time.