How to Change Edit Account Information Layout in Magento

layout

How to change the layout of Change Account Information page ( /customer/account/edit/ )? By default it uses 2columns-left.phtml. I tried the following in local.xml but nothing changes:

<customer_account_edit translate="label">
    <reference name="customer_edit">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>
</customer_account_edit>

What did I miss?

Also, how to change the layout of the following pages ?

  • /customer/address/edit/
  • /customer/address/new/
  • /customer/account/edit/changepass/1/

Thanks!

Best Answer

Rapter.
Please change the reference name customer_edit to root.According to magento Page layout is change on root block reference

final:

<customer_account_edit translate="label">
    <reference name="root">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>
</customer_account_edit>

See at My blog

Related Topic