如何在Magento中移动管理员菜单项
我现在有一个我创建的扩展,它现在位于它自己的顶级菜单中。我想移动它,以便该项目将出现在客户菜单内。有人知道怎么做吗 看起来这是在extensions config.xml文件中处理的。我现在拥有的代码如下:如何在Magento中移动管理员菜单项,magento,Magento,我现在有一个我创建的扩展,它现在位于它自己的顶级菜单中。我想移动它,以便该项目将出现在客户菜单内。有人知道怎么做吗 看起来这是在extensions config.xml文件中处理的。我现在拥有的代码如下: <menu> <testimonials module="testimonials"> <title>Testimonials</title> <sort_order>71</sort_
<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>
推荐书
71
管理项目
0
推荐信/行政推荐信
我尝试将title元素更改为Customers,它只是创建了一个重复的Customers菜单。尝试以下操作:
<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>
推荐书
71
管理项目
0
推荐信/行政推荐信
问得好,Josh。谢谢你的回答,约瑟夫。非常有用。