In Magento, the default homepage has got sidebars and main only. Login page will not be available by default in the magento homepage. As most of the clients or customers are interested to have login form in the homepage so as to create a quick login area for their users, you will need to apply the below code in cms.xml file. Once the steps given below are followed, you will get the minified login page in magento homepage.
Path:
- app/design/frontend/default/your theme /layout/cms.xml
In Cms.xml file, search for the following line given below:
- <reference name=”content”> <block type="cms/page"/> </reference>
Replace the above line with the following lines:
- <reference name=”content”>
-
- <block type="customer/form_login" template="customer/form/mini.login.phtml" />
-
- <block type="cms/page"/>
-
- </reference>
Please refer to the screen shot given below for pictorial representation of this Blog:
This entry was posted on Thursday, January 5th, 2012 at 8:31 am and is filed under Ecommerce templates, Magento Templates. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.











