Magento: local not overriding core file -


i have copied "app/code/core/mage/customer/controllers/accountcontroller.php" "app/code/local/mage/customer/controllers/accountcontroller.php" not overriding targeted file. getting wrong?

create following files:

1) app/etc/modules/muk_account.xml

<?xml version="1.0"?>  <config>      <modules>         <muk_account>              <active>true</active>              <codepool>local</codepool>         </muk_account>             </modules> </config> 

2) app\code\local\muk\account\etc\config.xml

<?xml version="1.0"?> <config>     <modules>            <muk_account>            <version>0.1.0</version>         </muk_account>     </modules>     <frontend>         <routers>             <customer>                 <use>standard</use>                 <args>                     <modules>                         <muk_account before="mage_customer">muk_account_customer</muk_account>                     </modules>                 </args>             </customer>         </routers>     </frontend> </config> 

3) app\code\local\muk\account\controllers\customer\accountcontroller.php

<?php require_once 'mage/customer/controllers/accountcontroller.php'; class muk_account_customer_accountcontroller extends mage_customer_accountcontroller {     public function createpostaction()     {     }  } 

search google , stack overflow more details.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -