Magento Forum

   
possibility to create sub menu in left tabs ? 
 
Yan Sanchez
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2008-05-26
Poitiers
 

Hi everybody,

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 ?

Thanks,

Yan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yan Sanchez
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2008-05-26
Poitiers
 

Nobody know if that’s possible or not ?
Thanks if you have an answer,

Yan

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top