This is what we send to applicants to find out if they know what magenta does / how it works ... not sure if this is what you had in mind ...
Please follow these steps:
Cancel the action of the controller . Override Mage_Customer_AccountController, retaining all original functions, except that logoutAction redirects to the home page immediately not the logoutSuccess page.
Override Model Function : Override the Mage_Customer_Model_Customer model, retaining all the original functions, except that the getName () function always returns "Magento Rocks".
Edit Block : Change one of the blocks used on the client / account / index page to display a message of your choice.
Add observer : Add an observer so that after creating an order in the frontend, the last name changes to "Is Awesome"
This is not entirely practical ... in general ... but it allows us to see if people can write correctly in Magento, and not just modify kernel files, etc. As in any case in Magento, there are various ways to solve various problems, perhaps they define different methods or determine which one will be the most suitable.
Note. To emphasize that no one points to this, these βtasksβ were not intended for practical use, and in fact, you probably NEVER would have performed any of them, they were designed to see if someone really do something (override model method, etc.) Magento way.
sbditto85
source share