1
我添加了一个选项卡到管理系统 - >配置后端...我以前做过的事情没有问题。 出于某种原因,当我尝试访问该选项卡时(即使“系统”配置中的“选项卡”配置内容显示在DEFAULT视图中),我也会得到一个404。Magento Admin选项卡ACL问题
我一直在玩ACL ...将代码添加到config.xml文件,并尝试创建一个单独的adminhtml.xml文件的alos .....但它不会踢。 请有人看看通过我的配置代码,看看我的错在哪里。我想我只是不能看到它...代码盲目...
<?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>
在此先感谢.... 肖恩
谢谢!对此我感到疯狂,而我在搜索时得到的所有内容都是404上的“尝试注销并重新登录”。甚至没有注意到它在第一次显示在默认配置视图中。 – 2013-06-27 07:51:03