I am learning to make sense of magento and i am stuck.I have different stores and i am creating a controller but it seem it is not working and giving 404. Following is my code config.xml under /app/code/local/Ammardotcom/Helloworld/etc
<?xml version="1.0" encoding="UTF-8"?>
<config>
<frontend>
<routers>
<helloworld>
<use>standard</use>
<args>
<module>Ammardotcom_Helloworld</module>
<frontName>helloworld</frontName>
</args>
</helloworld>
</routers>
</frontend>
</config>
and under app/etc/modules/ Ammardotcom_Helloworld.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Ammardotcome_Helloworld>
<active>true</active>
<codePool>local</codePool>
</Ammardotcome_Helloworld>
</modules>
</config>
while my file is called IndexController.php and it has following code under /app/code/local/Ammardotcom/Helloworld/controllers/
class Ammardotcome_Helloworld_IndexController
extends Mage_Core_Controller_Front_Action{
public function indexAction() {
echo 'Hello Index!';
}
}
The module shows in backend but isn't loading, i am following @Alan tut
yoursite.com/helloworld
your example works for me considering there are no XML errors.