protected function _beforeToHtml() { if (!$this->getTemplate()) { if ($this->getAFPBlockTypeData('layout') == AW_Featured_Model_Representations_Slider_Layouts::LAYOUT_HORIZONTAL) { $this->setTemplate('aw_featured/slider/horizontal.phtml'); } else { $this->setTemplate('aw_featured/slider/vertical.phtml'); } } return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $this->setTemplate('aw_featured/grid/grid.phtml'); return parent::_beforeToHtml(); }