protected function _toHtml() { if ($this->shouldShowSplash()) { return parent::_toHtml(); } if ($this->getConfig()->category->mode == 'group') { $otherBlock = new Elite_Vaf_Block_Product_Result_Group(); $otherBlock->setLayout($this->getLayout()); $otherBlock->setTemplate('vf/vaf/group/result.phtml'); return $otherBlock->_toHtml(); } return parent::_toHtml(); }