Sep 30, 2011

How to Override frontend Order Controller in Magento

Here, I am overriding the Order frontend Controller without using the [rewrite] node.
This is the simple and better way to override the any controller (frontend / admin) using [routers] node.

I am taking the example of frontend Order controller, please look at the below steps:
Note : 1 ) Replace all [ with < and ] with >
           2) Please follows the case sensitiveness.
1) In config.xml file do the following changes:
[frontend]
   [routers]
      [sales]
        [args]
          [modules]
             [namespace before="Mage_Sales"] Namespace_Sales   [/namespace]
          [/modules]
       [/args]
    [/sales]
  [/routers]
[/frontend]

2) In Namespace/Sales/controllers/OrderController.php file

require_once('Mage/Sales/controllers/OrderController.php')
Class Namespace_Sales_OrderController extends Mage_Sales_OrderController
{
     public function reorderAction()
     {
           Write your code or logic here.......:)
     }
}


----- --  done --------

Go Live Pre-requitised Steps (Before Live)

Before Go Live it is important to check the below things:

1) Empty / Truncate the following database tables.
+ adminnotification_inbox
+ catalogsearch_query
+ Change Login Credentials
+ eav_entity_store
+ log_url
+ log_url_info
+ log_visitor
+ log_visitor_info
+ sales_flat_quote
+ sales_order
+ newsletter_subscription
+ log_quote

2) Change base URL of website for secure and non secure in phpmyadmin.

3) To change admin panel credentials Sytem->MyAccount->Account Info->save.

4) To clear customer list Customer->Manage Customer ->Select All-> Delete All Customers.

5) To enable webserver Rewrite System->Configuration->Web->SEO->Yes in WebServer Rewrite.

6) To Enable store email addresses System->Configuration->store Email Addresses

7) To enable sales emails:  System->Configuration->Sales Email

At last clear the all Cache. ...

Sep 20, 2011

Clerks Recruitment in 19 Public Sector Banks through Banking Personnel Selection (IBPS)


Clerks Recruitment in 19 Public Sector Banks through Banking Personnel Selection (IBPS)


Click here http://ibps.in/html/common.htm for details.