- Yan Sanchez
Total Posts: 11
I wish to create a new menu category in the left menu of the product edit page. I already know how to do this, but I wonder if it’s possible to add some sub menu categories ? (like in the main menu of the backoffice, for example like “report/sales")
Is that possible, and in that case, how to do this ?
Currently, I add my new menu category by rewriting Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs, overloading the _prepareLayout() function, and adding my menu category with :
$this->addTab ( ‘mymenu’, array (
‘label’ => Mage::helper ( ‘product’ )->__ ( ‘My Menu’ ),
‘url’ => $this->getUrl(’*/*/mymenuaction’, array(’_current’ => true)),
‘class’ => ‘ajax’
Is there a field to fill to create a sub menu ? A specific function like addTab ? Or something else ? Or is it impossible to create sub menu categories in a left menu ?