setScope('default') ->setPath('awall/install/run') ->setValue(time()) ->save(); $this->setHeaderText($this->__("aheadWorks Notifications Setup")); $this->setIsFirstRun(1); $this->setIsHtml(1); } } protected function _toHtml() { if ($this->getIsHtml()) { $this->setTemplate('aw_all/notification/window.phtml'); } return parent::_toHtml(); } public function presetFirstSetup() { } public function getNoticeMessageText() { if ($this->getIsFirstRun()) { $child = $this->getLayout()->createBlock('core/template')->setTemplate('aw_all/notification/window/first-run.phtml')->toHtml(); return $child; } else { return $this->getData('notice_message_text'); } } }