Return to Snippet

Revision: 63413
at May 6, 2013 04:24 by apani


Initial Code
Mage::getModel('cms/block')->load('static_block_identifier')->getIsActive()

Initial URL

                                

Initial Description
A way to check if a static block is enabled/disabled in the backend.

Initial Title
Magento - check if static block is enabled

Initial Tags
magento

Initial Language
PHP