Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
2 typo
source | link

I am trying to configure the customer account page for a 3column layout and I want to move the customer account navigation from its default position in the left column to the right column. So far I have tried this in the local.xml file of my own theme:

<customer_account_index>
    <reference name="root">
        <action method="setTemplate"><template>page/3columns.phtml</template></action>
    </reference>
    <reference name="left">
        <remove name="customer_account_navigation"/>
    </reference>
    <reference name="right">
        <block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>
    </reference>
</customer_account_index>

As expected, the customer account page will then have a 3 column layout and the customer account navigation is removed from the left column.

However, the navigation does not appear in the right column (any other block that is displaydisplayed by default in the right column is displayed as expected, so there is no general problem with the layout), and I am not sure why.

I am trying to configure the customer account page for a 3column layout and I want to move the customer account navigation from its default position in the left column to the right column. So far I have tried this in the local.xml file of my own theme:

<customer_account_index>
    <reference name="root">
        <action method="setTemplate"><template>page/3columns.phtml</template></action>
    </reference>
    <reference name="left">
        <remove name="customer_account_navigation"/>
    </reference>
    <reference name="right">
        <block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>
    </reference>
</customer_account_index>

As expected, the customer account page will then have a 3 column layout and the customer account navigation is removed from the left column.

However, the navigation does not appear in the right column (any other block that is display by default in the right column is displayed as expected, so there is no general problem with the layout), and I am not sure why.

I am trying to configure the customer account page for a 3column layout and I want to move the customer account navigation from its default position in the left column to the right column. So far I have tried this in the local.xml file of my own theme:

<customer_account_index>
    <reference name="root">
        <action method="setTemplate"><template>page/3columns.phtml</template></action>
    </reference>
    <reference name="left">
        <remove name="customer_account_navigation"/>
    </reference>
    <reference name="right">
        <block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>
    </reference>
</customer_account_index>

As expected, the customer account page will then have a 3 column layout and the customer account navigation is removed from the left column.

However, the navigation does not appear in the right column (any other block that is displayed by default in the right column is displayed as expected, so there is no general problem with the layout), and I am not sure why.

1
source | link

Magento: move customer account navigation from left to right

I am trying to configure the customer account page for a 3column layout and I want to move the customer account navigation from its default position in the left column to the right column. So far I have tried this in the local.xml file of my own theme:

<customer_account_index>
    <reference name="root">
        <action method="setTemplate"><template>page/3columns.phtml</template></action>
    </reference>
    <reference name="left">
        <remove name="customer_account_navigation"/>
    </reference>
    <reference name="right">
        <block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>
    </reference>
</customer_account_index>

As expected, the customer account page will then have a 3 column layout and the customer account navigation is removed from the left column.

However, the navigation does not appear in the right column (any other block that is display by default in the right column is displayed as expected, so there is no general problem with the layout), and I am not sure why.