public function getCmsBlockHtml() { if (parent::isContentMode()) { return Mage::helper('adjnav')->wrapProducts(parent::getCmsBlockHtml()); } return parent::getCmsBlockHtml(); }
public function getCmsBlockHtml() { if (Mage::helper('adjnav')->bNeedClearAll()) { $html = parent::getProductListHtml(); } else { $html = parent::getCmsBlockHtml(); } if ($this->getCurrentCategory()->getIsAnchor() && $this->isContentMode()) { $html = Mage::helper('adjnav')->wrapProducts($html); } return $html; }