我在管理系统中添加了一个选项卡-> 配置后端...我以前做过的事情没有问题。出于某种原因,当我尝试访问选项卡时收到 404(即使进入系统-> 配置时默认视图上显示了“选项卡”配置内容)。
我一直在使用 ACL ...将代码添加到 config.xml 文件中,并且尝试创建一个单独的 adminhtml.xml 文件......但它不会启动。请有人查看我的配置代码,看看我哪里出错了。我想我只是看不到它...代码盲...
<?xml version="1.0"?>
<config>
<modules>
<Mworkz_Mavp>
<version>0.1.0</version>
</Mworkz_Mavp>
</modules>
<global>
<!--
<blocks>
<micoavp><class>Mworkz_Micoavp_Block</class></micoavp>
<catalog>
<rewrite>
<product_view_type_configurable>Bsm_Micoavp_Block_Configurable</product_view_type_configurable>
</rewrite>
</catalog>
</blocks>
<events>
<catalog_product_save_after>
<observers>
<micoavp>
<type>singleton</type>
<class>Mworkz_Micoavp_Model_Observer</class>
<method>Add_CustomOptions_Automatically</method>
</micoavp>
</observers>
</catalog_product_save_after>
</events>
-->
</global>
<frontend>
<layout>
<updates>
<mworkz_mavp>
<file>mworkz_mavp.xml</file>
</mworkz_mavp>
</updates>
</layout>
</frontend>
<adminhtml>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin> <!--This is acl based on URL. If you see URL it would be /admin/system_config/ -->
<children>
<system>
<children>
<config>
<children>
<mavp translate="title"> <!-- This is name of the section created by us -->
<title>Mico AVP ACL</title> <!-- Title as shown in User->Roles->Permissions Window -->
<sort_order>99</sort_order>
</mavp>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>
提前谢谢....肖恩