cancel
Showing results for 
Search instead for 
Did you mean: 

Add sidebar to custom 1 column layout

Add sidebar to custom 1 column layout

Does anybody have a link (or could explain) the best way to insert a navigation block into the product grid?  What I'm trying to do is create a custom 1 column layout and add a nevigation in the same container as the products in the list.phtml file.  I'm sure the catalog.xml needs to be modified but I'm not exactly sure how to go about it.  Any insight would be hrlpful.

1 REPLY 1

Re: Add sidebar to custom 1 column layout

Hi @chrismallory 

 

If you want to move say just the default subcategory navigation block, to the main content area it can be done via the layout:

 

<catalog_category_default>
    <reference name="content">
         <block type="catalog/navigation" name="catalog.contentnav" before="-" template="catalog/navigation/left.phtml">
             <block type="core/text_list" name="catalog.contentnav.state.renderers" as="state_renderers" />
         </block>
    </reference>
</catalog_category_default>

 Note: that this will only work for non anchored categories. 

 

I hope this helps :-)