I am using Facebook connect and like plugin

On Login or Create an Account page, i want two columns page. currently its one column

<reference name="root">
            <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
    <reference name="customer_form_login">
        <block type="verticalmenu/verticalmenu" after="-" name="ma.verticalmenuleft" template="magentothem/verticalmenu/verticalmenuleft.phtml" />

        <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml">
            <action method="setTemplate" ifconfig="facebookfree/settings/enabled" ifvalue="1">
  • 1
    Just format the HTML and CSS in your phtml file. Don't confuse 2columns-left with being a 1column layout split in two. Mar 7, 2013 at 17:38

3 Answers 3


Most easiest way i found.

    <update handle="customer_account"/>
    <!-- Mage_Customer -->
    <reference name="root">
        <action method="setTemplate"><template>page/2columns-left.phtml</template></action>

The problem is, that there is a check, wether a template is applied

    if ($this->getLayout()->getBlock('root') &&
        !$this->getLayout()->getBlock('root')->getIsHandle()) {
            // If not applied handle

you have to remove the <action method="setIsHandle"><applied>1</applied></action>. I don't know what the best pratice is here. Changing the page.xml is not :-)


For some reason, default customer.xml updates contain

<remove name="right"/>
<remove name="left"/>

for almost all pages. That's why setting template for root isn't enough and you also have to remove the removes.

  • How can these removes be undone from local.xml without actually modifying the customer.xml? Feb 16, 2015 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.