我想使用用户添加/编辑/删除功能在 magento 仪表板中为特定用户类型添加一个部分,因此我为 magento Admin 创建了一个模块,但它没有显示在 Admin 菜单中。我想在 magento admin 中显示关联菜单。
尽管它显示在 system -> config ->advance 中以提供启用/禁用功能。配置 xml 是。0.1.0
<global>
<models>
<association>
<class>yanga_association_Model</class>
<resourceModel>association_mysql4</resourceModel>
</association>
<association_mysql4>
<class>yanga_association_Model_Mysql4</class>
<entities>
<association>
<table>association</table>
</association>
</entities>
</association_mysql4>
</models>
<resources>
<association_setup>
<setup>
<module>yanga_association</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</association_setup>
<association_write>
<connection>
<use>core_write</use>
</connection>
</association_write>
<association_read>
<connection>
<use>core_read</use>
</connection>
</association_read>
</resources>
<blocks>
<association>
<class>yanga_association_Block</class>
</association>
</blocks>
<helpers>
<association>
<class>yanga_association_Helper</class>
</association>
</helpers>
</global>
<admin>
<routers>
<association>
<use>admin</use>
<args>
<module>Yanga_Association</module>
<frontName>association</frontName>
</args>
</association>
</routers>
</admin>
<adminhtml>
<menu>
<association module="association">
<title>Association</title>
<sort_order>71</sort_order>
<children>
<items module="association">
<title>Manage Association</title>
<sort_order>0</sort_order>
<action>association/adminhtml_association</action>
</items>
</children>
</association>
</menu>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<system>
<children>
<config>
<children>
<Association>
<title>Association Module</title>
<sort_order>10</sort_order>
</Association>
</children>
</config>
</children>
</system>
<Yanga_Association>
<title>System Configuration Tab</title>
<sort_order>10</sort_order>
</yanga_Association>
</children>
</admin>
</resources>
</acl>
<layout>
<updates>
<association>
<file>association.xml</file>
</association>
</updates>
</layout>
</adminhtml>
如果有,请向我们提供解决方案。提前致谢。