cancel
Showing results for 
Search instead for 
Did you mean: 

Positioning of a block in left sidebar

SOLVED

Positioning of a block in left sidebar

How do i change the order of blocks i the left sidebar? I want the shop by block to be just under the menu.

 

Hope you can help Smiley Happy

Thanks in advance.

 

Illustration:

Screenshot

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Positioning of a block in left sidebar

Create local.xml in your magento theme similar to the path: app\design\frontend\myPakage\myTheme\layout\local.xml and add the below code at your created local.xml file.

 

 

<?xml version="1.0"?>
<layout version="0.1.0">
<catalog_category_default translate="label"> 
   <reference name="left">
        <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below.
                before="here_your_name", after="here_your_name" 
                Code would be displayed as below.  
        -->
      <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
  </reference>
</catalog_category_default>

<catalog_category_layered translate="label">
   <reference name="left">
      <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below.
                before="here_your_name", after="here_your_name" 
                Code would be displayed as below.  
        -->
      <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
  </reference>
</catalog_category_layered>
</layout>   

 

 

Hope this helps you. Please feel free to connect incase of any query/concern regarding this.

 

 

Query solved? Accept as Solution.Thanks
Eric Baily

View solution in original post

Re: Positioning of a block in left sidebar

Thank you for your reply Smiley Happy

 

How do i know the name of the blocks?

 

 

View solution in original post

2 REPLIES 2

Re: Positioning of a block in left sidebar

Create local.xml in your magento theme similar to the path: app\design\frontend\myPakage\myTheme\layout\local.xml and add the below code at your created local.xml file.

 

 

<?xml version="1.0"?>
<layout version="0.1.0">
<catalog_category_default translate="label"> 
   <reference name="left">
        <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below.
                before="here_your_name", after="here_your_name" 
                Code would be displayed as below.  
        -->
      <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
  </reference>
</catalog_category_default>

<catalog_category_layered translate="label">
   <reference name="left">
      <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below.
                before="here_your_name", after="here_your_name" 
                Code would be displayed as below.  
        -->
      <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
  </reference>
</catalog_category_layered>
</layout>   

 

 

Hope this helps you. Please feel free to connect incase of any query/concern regarding this.

 

 

Query solved? Accept as Solution.Thanks
Eric Baily

Re: Positioning of a block in left sidebar

Thank you for your reply Smiley Happy

 

How do i know the name of the blocks?