Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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