Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
Use 3columns.phtml for login
 
Spek
Member
 
Total Posts:  61
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
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33268 users|347 users currently online|73918 forum posts