Exemple #1
0
 public function _construct()
 {
     parent::_construct();
     /**
      * update the $_slideshowId value, but only if the
      * System > Configuration > Ash Slideshow (Extended)
      * is configured to be enabled and is available to be
      * shown on pages (i.e., home page)
      */
     if (Mage::helper('ash_slideshowextended')->isSlideshowEnabled()) {
         $this->setSlideshowId(Mage::helper('ash_slideshowextended')->getSlideshowId());
     }
 }
Exemple #2
0
 protected function _beforeToHtml()
 {
     $this->setSlideshowId($this->getData('ash_slideshow_id'));
     parent::_beforeToHtml();
 }