Display Categories in Sidebar
It seems my posts lately are always in relation to solving a problem or answering a question for someone else. If you’re looking for a way to display categories in the sidebar, change category display, or create a category menu then this post is probably for you.
CREATING THE BLOCK
The first thing you need to do is create a block in your layout. Navigate to/app/design/frontend/default/default/layout/catalog.xml
The first thing in your layout is a definition of the default layout noted by the comment “Default layout, loads most of the pages” depending on where you want to put your category nav (right sidebar, left sidebar, footer, etc) you’ll need to define the block a little differently. I’m going to do it with the left sidebar so you see what’s going on.
<reference name="left"> <block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left_nav.phtml" /> </reference>
Okay, so what i did…
View original post 168 more words