如何使用模块在magento admin中创建子菜单 [英] how to create sub menu in magento admin using module

查看:33
本文介绍了如何使用模块在magento admin中创建子菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发magento模块.我想在管理部分中添加菜单.

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

喜欢.

admin->目录->属性->管理属性-> 此处是菜单

Magento版本1.5.1.0

Magento version 1.5.1.0

我该怎么做?

推荐答案

在模块的adminhtml.xml中放置以下内容:

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>

这篇关于如何使用模块在magento admin中创建子菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆