magento删除管理员菜单项 [英] magento remove admin menu item
本文介绍了magento删除管理员菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在magento中,是否有可能在admin中删除菜单项?
Is it possible, in magento, to remove a menu item in admin?
我有一个新模块,并且正在将评论和评分拉到一个新的部分.我不反对在目录部分中也保留它们,但是如果可能的话(并且很干净),我想把它捏在那儿.
I have a new module and am pulling the reviews and ratings into a new section. I'm not opposed to leaving them also in the catalog section, but if its possible (and clean) I'd like to nip it out of there.
推荐答案
在扩展名config.xml文件中添加下一行:
Add next lines to extension config.xml file:
<adminhtml>
<menu>
<catalog>
<children>
<reviews_ratings>
<disabled>1</disabled>
</reviews_ratings>
</children>
</catalog>
</menu>
</adminhtml>
并清除缓存.
这篇关于magento删除管理员菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文