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

Change the order in left column
 
Nuramor
Member
 
Total Posts:  54
Joined:  2009-04-10
 

hi
how i can change the order in the left column?
More Specified:
I want to have the “Shop by” Box at first in the column and the callout and newsletter after this

I think this is not a really big problem but it can’t find the data used for this....

Any Idea?
regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
cloudquarry
Guru
 
Avatar
Total Posts:  528
Joined:  2008-11-19
 

Left column order for pages are defined in the layout xmls. For most pages these are in your layout folder. For the homepage, this is in the custom layout field in the CMS admin.

Check out your layout/catalog.xml file for the page you’re looking to customize. Look for the various “before=” and “after=” parameters for your left column (reference="left") and tweak the orders.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nuramor
Member
 
Total Posts:  54
Joined:  2009-04-10
 

thanks for you idea
i found:

<reference name="left">
            <
block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
                <
action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
                <
action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555555-0123.</alt></action>
                <
action method="setLinkUrl"><url>checkout/cart</url></action>
            </
block>
        </
reference>
under <!-- Mage_Catalog -->
<reference name="top.menu">

and

<reference name="left">
            <
block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
        </
reference>
under
<!--
Category default layout
-->

<catalog_category_default>

... but if i set before = “left.permanent.callout” so it look like

<reference name="left">
            <
block type="catalog/navigation" name="catalog.leftnav"  before "left.permanent.callout" after="currency" template="catalog/navigation/left.phtml"/>
        </
reference>
i got an error

... could be a problem that this isn’t the right name ?

...

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

remove the spaces surrounding your = sign on the before attribute and see if it works then.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nuramor
Member
 
Total Posts:  54
Joined:  2009-04-10
 

smile thanks work great!

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

Good deal ... smile

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