I want to keep right and left sidebar with all the pages but without any content.
How do I assign 3-column layout for all magento pages in once and keep those both sidebar without any content.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not all layouts are determined in the same places, so it’s not simple to change every page into a 3-column layout. The default layout for Magento 1.5 is three-column, which you can see in the default theme’s
page.xmllayout file. Other pages, though, override this setting (I count a few dozen in my base install using this command:If you want to change those pages, create a
local.xmllayout file, and override each instance like this. Original tag:In your local.xml file:
Be aware that this will probably break some pages and will require some fixes. Next, take a look at your CMS pages. They have layouts defined in the database, so you’ll want to change each of those over to three-column as well.
Finally, to update your columns to remove all content from them, Add this to your local.xml file (untested, but I remember this working in the past):
If you have trouble keeping the other columns “open” without content, you could also add a new block as a child to each of them with some content to keep them from collapsing.
Hope that helps!
Thanks,
Joe