How to create sub menu in magento admin from custom module

By

July 1, 2012MagentoNo comments

As a Magento Developer sometimes we may get a requirement to create a new menu item/ sub menu in magento admin panel.

In todays article we see the steps to create a sub menu under an existing top menu in adminpanel.So for this example the sub menu will be created under customers menu.

We can specify where our menu needs to be displayed in config.xml file of our custom module. Our custom module config.xml file displays as shown below.

45menudemo/adminhtml_menudemo

The adminhtml tag section in the above config.xml file describes our custom menu information. First we specify the parent menu item in this case it is and our menu details should come under customer tag.

our custom menu details

Note: This article assumes you have a module with admin block class and admin controller and a layout file.

Leave a Reply