[英]how to create sub menu in magento admin using module
我正在開發magento模塊。我想在管理部分添加菜單。
喜歡。
admin-> catalog - > Attributes - > Manage Attribute-> Here mymenu
Magento版本1.5.1.0
我怎樣才能做到這一點 ?
在您的模塊的adminhtml.xml
輸入以下內容:
<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>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.