/** * Add paypalauth block to the customer dashboard * * @return string */ protected function _toHtml() { $isExtensionEnabled = Mage::getStoreConfigFlag('opc/paypallogin/status'); $html = $this->getChildHtml('paypalauth_dashboard'); if (!$isExtensionEnabled) { return parent::_toHtml(); } $html .= parent::_toHtml(); return $html; }
public function _toHtml() { $this->setTemplate('advancednewsletter/customer/info.phtml'); return parent::_toHtml(); }