我正在学习通过遵循本教程
http://www.pierrefay.fr/category/developpement/magento创建自定义扩展
当我尝试打开扩展管理员我得到致命错误:类’Mage_Test_Helper_Data’找不到/var/www/html/dev/app/Mage.PHP在线520
但是我觉得我没有在扩展中使用helper类。你的建议是受欢迎的。
这是我的config.xml文件
<?xml version="1.0"?> <config> <modules> <Package_Test> <version>1.0.0</version> </Package_Test> </modules> <frontend> <routers> <routerfrontend> <use>standard</use> <args> <module>Package_Test</module> <frontName>test</frontName> </args> </routerfrontend> </routers> <layout> <updates> <test> <file>test.xml</file> </test> </updates> </layout> </frontend> <admin> <routers> <test> <use>admin</use> <args> <module>Package_Test</module> <frontName>admintest</frontName> </args> </test> </routers> </admin> <adminhtml> <layout> <updates> <test> <file>test.xml</file> </test> </updates> </layout> <menu> <test translate="title" module="adminhtml"> <title>My Module</title> <sort_order>100</sort_order> <children> <items module="Test"> <title>Address Book</title> <action>admintest/adminhtml_index</action> </items> </children> </test> </menu> </adminhtml> <global> <helpers> <class>Package_Test_Helper</class> </helpers> <blocks> <test> <class>Package_Test_Block</class> </test> </blocks> <models> <test> <class>Package_Test_Model</class> <resourceModel>test_MysqL4</resourceModel> </test> <test_MysqL4> <class>Package_Test_Model_MysqL4</class> <entities> <test> <table>package_test</table> </test> </entities> </test_MysqL4> </models> <resources> <test_write> <connection> <use>core_write</use> </connection> </test_write> <test_read> <connection> <use>core_read</use> </connection> </test_read> </resources> </global> </config>