我用magento制作了一个自定义模块。管理员面板识别它但不识别商店..我检查了很多帖子和来源,但没有解决我的问题
代码在app / etc / modules / Firstmagetest_All.xml中:
<?xml version = "1.0"?>
<config>
<modules>
<Firstmagetest_Test>
<active>true</active>
<codePool>local</codePool>
</Firstmagetest_Test>
</modules>
</config>
app / code / local / FirstMageTest / Test / etc / config.xml中的代码
<?xml version="1.0"?>
<config>
<modules>
<Firstmagetest_Test>
<version>1.0.0</version>
</Firstmagetest_Test>
</modules>
<frontend>
<routers>
<firstmage_test>
<use>standard</use>
<args>
<module>Firstmagetest_Test</module>
<frontName>test</frontName>
</args>
</firstmage_test>
</routers>
</frontend>
</config>
[HTML]
app / code / local / FirstMageTest / Test / controllers / IndexController.php中的代码
<?php
class Firstmagetest_Test_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction ()
{
echo 'test index';
}
public function mamethodeAction ()
{
echo 'test mymethod';
}
}
?>