首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Magento中移动管理菜单项

如何在Magento中移动管理菜单项
EN

Stack Overflow用户
提问于 2010-06-16 04:06:23
回答 1查看 2.2K关注 0票数 2

我目前有一个我创建的扩展,它现在位于它自己的顶级菜单中。我想要移动它,以便该项目将显示在客户菜单内。有人知道怎么做吗?

看起来这是在扩展config.xml文件中处理的。我现在拥有的代码如下:

代码语言:javascript
复制
<menu>
    <testimonials module="testimonials">
        <title>Testimonials</title>
        <sort_order>71</sort_order>
        <children>
            <items module="testimonials">
                <title>Manage Items</title>
                <sort_order>0</sort_order>
                <action>testimonials/adminhtml_testimonials</action>
            </items>
        </children>
    </testimonials>
</menu>

我尝试将title元素更改为Customers,它只是创建了一个重复的Customers菜单。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2010-06-16 10:23:31

试试这个:

代码语言:javascript
复制
<menu>
    <customer>
        <children>
            <testimonials module="testimonials">
                <title>Testimonials</title>
                <sort_order>71</sort_order>
                <children>
                    <items module="testimonials">
                        <title>Manage Items</title>
                        <sort_order>0</sort_order>
                        <action>testimonials/adminhtml_testimonials</action>
                    </items>
                </children>
            </testimonials>
        </children>
    </customer>
</menu>
票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3048632

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档