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":


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

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:

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!


Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.