/** * Prepare Content HTML. * * @return string */ protected function _toHtml() { if (!in_array(Mirasvit_SeoAutolink_Model_Config_Source_Target::CMS_BLOCK, $this->getConfig()->getTarget())) { return parent::_toHtml(); } $html = parent::_toHtml(); $html = Mage::helper('seoautolink')->addLinks($html); return $html; }
protected function _toHtml() { $this->setTemplate('em_cms/widget/static_block/default.phtml'); return parent::_toHtml(); }