Ejemplo n.º 1
0
 protected function _prepareLayout()
 {
     //get all existing tabs
     $this->parent = parent::_prepareLayout();
     //add new tab
     $this->addTab('customattributes', array('label' => Mage::helper('catalog')->__('Custom Attributes'), 'title' => Mage::helper('catalog')->__('Custom Attributes'), 'content' => $this->getLayout()->createBlock('ajaxlogin/rewrite_customer_edit_tab_account')->initCustomForm()->toHtml(), 'active' => Mage::registry('current_customer')->getId() ? false : true));
     return $this->parent;
 }
Ejemplo n.º 2
0
 protected function _prepareLayout()
 {
     $ret = parent::_prepareLayout();
     if (Mage::helper('fieldsmanager')->getStoredDatafor('enable')) {
         $this->addTab('fme_fm_customers', array('label' => Mage::helper('fieldsmanager')->getheading(), 'content' => $this->getLayout()->createBlock('fieldsmanager/customer_edit_fmcustomers')->setTemplate('fieldsmanager/fmcustomer.phtml')->toHtml()));
     }
     return $ret;
 }
Ejemplo n.º 3
0
 protected function _prepareLayout()
 {
     $this->parent = parent::_prepareLayout();
     $this->addTab("tabid", array("label" => Mage::helper("additionalinfo")->__("Custom Registration Fields"), "content" => $this->getLayout()->createBlock("additionalinfo/adminhtml_tabs_tabid")->toHtml()));
     return $this->parent;
 }