public function _construct() { if (Mage::getStoreConfig('advanced/modules_disable_output/' . $this->getModuleName())) { Mage::app()->getStore()->setConfig('advanced/modules_disable_output/' . $this->getModuleName(), 0); $this->outputDisabled = true; } parent::_construct(); }
protected function _toHtml() { if (!$this->mHelper('config')->isUserGuideButtonEnabled()) { return; } if (!$this->hasCoreModule()) { return; } if (!$this->getCoreModule()->hasSerial()) { return; } if (!$this->hasModule()) { return; } if (!$this->getModule()->isExtendware()) { return; } if ($this->getModule()->isForMainsite()) { return; } return parent::_toHtml(); }