protected function _toHtml() { if (Mage::helper('fieldsmanager')->getStoredDatafor('enable')) { $this->setTemplate("fieldsmanager/order/view/info.phtml"); } return parent::_toHtml(); }
public function _toHtml() { $html = parent::_toHtml(); $html .= $this->getLayout()->createBlock('core/template', 'tickets', array('template' => 'eltrino/diamantedesk/tickets.phtml'))->_toHtml(); return $html; }