Gowri
Gowri

Reputation: 16835

how to create sub menu in magento admin using module

I'm developing magento module.I would like to add menu in admin section.

like.

admin-> catalog -> Attributes -> Manage Attribute-> Here mymenu

Magento version 1.5.1.0

How can i do this ?

Upvotes: 3

Views: 8891

Answers (1)

vsushkov
vsushkov

Reputation: 2435

in your module's adminhtml.xml put the following:

    <config>
        <menu>
            <catalog>
                <children>
                    <attributes>
                        <children>
                            <attributes>
                                <children>
                                    <submenu translate="title" module="catalog">
                                        <title>submenu submenu</title>
                                        <action>adminhtml/catalog_product_attribute_submenu/</action>
                                    </submenu>
                                </children>
                            </attributes>
                        </children>
                    </attributes>
                </children>
            </catalog>
        </menu>
    </config>

Upvotes: 16

Related Questions