latvian
latvian

Reputation: 3215

remove everything in sidebar but one menu

I am integrating blog(wordpress) into our magento site. I am at the point to update handler in the blog.xml file. I want to display in sidebar only the blog menu but not other menus that are by default in the right sidebar. I know i can remove the right sidebar all together but then there is not sidebar to attach my blog menu.

How to do this - add single menu and remove rest of the menues in the sidebar?

Thank you,

Margots

Upvotes: 0

Views: 1340

Answers (1)

2ldr
2ldr

Reputation: 46

Hy,

you can use unsetChild to remove content from any bar you like, and append to add any block you want.

See here how to use:

Magento Layout Files Reference

Or remove the complete sidebar and set your block you want to show in your sidebar with as="right" in your layout update xml.

Z

Upvotes: 2

Related Questions