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; }
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; }
protected function _prepareLayout() { $this->setChild('general_box', $this->getLayout()->createBlock('mageworx_customoptions/adminhtml_options_edit_tab_options_groups')); return parent::_prepareLayout(); }
protected function _prepareLayout() { $this->setChild('options_groups', $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_options_groups')); return parent::_prepareLayout(); }
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')); }