Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Use 3columns.phtml for login
 
Spek
Sr. Member
 
Total Posts:  77
Joined:  2007-11-28
 

I’m trying to change the login/create account (and everything related) to a 3 column layout. Changing the template in customer.xml to 3columns.phtml is easy, but only the center column shows up!?

I’ve tried several things with this code in customer.xml:

<customer_account_create>
        <!-- 
Mage_Customer -->
        <
remove name="right"/>
        <
remove name="left"/>

        <
reference name="root">
            <
action method="setTemplate"><template>page/3columns.phtml</template></action>
        </
reference>
        <
reference name="content">
            <
block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"/>
        </
reference>
    </
customer_account_create>

this (removing the “removes"):

<customer_account_create>
        <!-- 
Mage_Customer -->

        <
reference name="root">
            <
action method="setTemplate"><template>page/3columns.phtml</template></action>
        </
reference>
        <
reference name="content">
            <
block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"/>
        </
reference>
    </
customer_account_create>

and this (adding the reference for the menu):

<customer_account_create>
        <!-- 
Mage_Customer -->
        <
remove name="right"/>
        <
remove name="left"/>

        <
reference name="root">
            <
action method="setTemplate"><template>page/3columns.phtml</template></action>
        </
reference>
        <
reference name="left">
            <
block type="catalog/navigation" name="catalog.vertnav" template="catalog/navigation/left_cat_nav.phtml" />
        </
reference>
        <
reference name="content">
            <
block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"/>
        </
reference>
    </
customer_account_create>

And variations thereof.. to no success. Anyone got a hint for me? I assume the “remove” has something to do with it? But why doesn’t it show up when I delete that?

EDIT: Alright it’s working now, the 20th refresh seems to have kicked it in smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top