So this is my modules/Namespace_Module.xml content:
<?xml version="1.0"?>
<config>
<modules>
<Namespace_Module>
<active>true</active>
<codepool>local</codepool>
</Namespace_Module>
</modules>
</config>
This is the namespace/module/etc/config.xml content:
<?xml version="1.0"?>
<config>
<modules>
<Namespace_Module>
<version>0.2.0</version>
</Namespace_Module>
</modules>
<frontend>
<routers>
<customer>
<args>
<modules>
<namespace_module before="Mage_Customer_AccountController">Namespace_Module_Frontend_Customer</namespace_module >
</modules>
</args>
</customer>
</routers>
</frontend>
</config>
and this is the namespace/module/controllers/Frontend/Customer/AccountController.php content:
<?php
require_once Mage::getModuleDir('controllers', 'Mage_Customer').DS.'AccountController.php';
class Namespace_Module_Frontend_Customer_AccountController extends Mage_Customer_AccountController
{
public function indexAction()
{
parent::indexAction();
}
public function editPostAction()
{
echo 1; exit();
}
}
What I want to achieve when I update the my account inputs, when i click on the update button to show me the echo 1; exit(); At the moment nothing happens. What am I missing ? thx
codepool
tocodePool
andbefore="Mage_Customer_AccountController"
tobefore="Mage_Customer"