Take the 2-minute tour ×  I wonder how to check that pariticular
CMS block is active or not.  So far i have found that CMS block
are Mage_Cms_Block_Block class that inherits from
Mage_Cms_Block_Abstract class   Neither of the two class have
method that would check weather the block is active or not. How
do i do it?   share|improve this question  5 Answers 5   Replace
static_block_identifier with the identifier you assigned to your
CMS static block.  share|improve this answer up vote 2 down vote
accepted  Got this myself  I created a method
isActive(Identifiere, Value) in helper "Block" in the Mage/Cms
local Module.  This is how the method looks  public function
isActive($attribute, $value){      $col =
Mage::getModel('cms/block')->getCollection();
$col->addFieldToFilter($attribute, $value);     $item =
$col->getFirstItem();     $id = $item->getData('is_active');
if($id == 1){         return true;         return false;
parameter $attribute is table(cms-block) field such us
'indetifier' or 'title' an