I am working on Magento community edition 1.7 version. I have a grid in admin when I click on "Add New" from this grid a form appear but it has some tabs in left side.I need to remove that tabs and want only form.
app/code/community/namespace/test/Block/Adminhtml/test/Edit/Tabs.php
My code for tabs in above file is:
protected function _beforeToHtml() {
$this->addTab('form_section', array(
'label' => Mage::helper('test')->__('Book'),
'title' => Mage::helper('test')->__('Book'),
'content' => $this->getLayout()->createBlock('test/adminhtml_book_edit_tab_form')->toHtml(),
));
return parent::_beforeToHtml();
}
Can anyone solve this problem?
In your Admin controller
please see editAction
remove
then create file name form.php in
app/code/community/namespace/test/Block/Adminhtml/test/Edit/Form.php
and paste the code in