Ejemplo n.º 1
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $this->setChild('general_box', $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_general'));
     $this->setChild('options_box', $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_options_option'));
     $this->getChild('options_box')->getChild('select_option_type')->setTemplate('customoptions/options-edit-tab-options-type-select.phtml');
     return $this;
 }
Ejemplo n.º 2
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $this->setChild('general_box', $this->getLayout()->createBlock('mageworx_customoptions/adminhtml_options_edit_tab_general'));
     $this->setChild('options_box', $this->getLayout()->createBlock('mageworx_customoptions/adminhtml_options_edit_tab_options_option'));
     $this->getChild('options_box')->getChild('select_option_type');
     return $this;
 }
Ejemplo n.º 3
0
 protected function _prepareLayout()
 {
     $this->setChild('general_box', $this->getLayout()->createBlock('mageworx_customoptions/adminhtml_options_edit_tab_options_groups'));
     return parent::_prepareLayout();
 }
Ejemplo n.º 4
0
 protected function _prepareLayout()
 {
     $this->setChild('options_groups', $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_options_groups'));
     return parent::_prepareLayout();
 }
Ejemplo n.º 5
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $this->setChild('add_button', $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => Mage::helper('catalog')->__('Add New Field'), 'class' => 'add', 'id' => 'add_new_defined_option')));
     $this->setChild('options_box', $this->getLayout()->createBlock('formbuilder/adminhtml_formbuilder_edit_tab_options_option'));
 }