Login on Sidebar

Submitted by Eric on Tue, 03/27/2018 - 23:42
magento login lateral

Very simple tutorial and very helpful.

Open file /app/design/frontend/base/default/layout/customer.xml

Loof for this code and uncomment the reference name="right":

 

    <customer_logged_out>
        <!---<reference name="right">
            <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
        </reference>-->

For some reason Magento will update all pages with the title LOG IN. To fix this you can edit (not recommended) or duplicate this file on the local folder:
app/code/core/Mage/Customer/Block/Form/Login.php

It will be: app/code/local/Mage/Customer/Block/Form/Login.php
Let's comment this line:

$this->getLayout()->getBlock(’head’)->setTitle(Mage::helper(’customer’)->__(’Customer Login’));

That's all!


FacebookTwitterGoogle+Share