Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6168395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:40:51+00:00 2026-05-23T22:40:51+00:00

I want to keep right and left sidebar with all the pages but without

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:40:51+00:00Added an answer on May 23, 2026 at 10:40 pm

    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.xml layout file. Other pages, though, override this setting (I count a few dozen in my base install using this command:

    ack "columns" | grep phtml | wc -l
    

    If you want to change those pages, create a local.xml layout file, and override each instance like this. Original tag:

    <catalogsearch_advanced_index translate="label">
        <label>Advanced Search Form</label>
        <!-- Mage_Catalogsearch -->
        <reference name="root">
            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
        </reference> 
        ...
    </catalogsearch_advanced_index>
    

    In your local.xml file:

    <catalogsearch_advanced_index>
        <reference name="root">
            <action method="setTemplate"><template>page/3columns.phtml</template></action>
        </reference> 
    </catalogsearch_advanced_index>
    

    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):

    <default>
        <reference name="left">
            <action method="unsetChildren"></action>
        </reference>
        <reference name="right">
            <action method="unsetChildren"></action>
        </reference>
    </default>
    

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Image on the left what I want, on the right what I keep getting.
I want to create a fix sidebar on the right of my website but
I want to keep only numbers and remove all characters from a variable. For
My text animation scrolls from left to right, which is OK. I want to
I want to keep everything within the parent div but the second div goes
I want to achieve something like : $(#left).hide('slide', {direction: 'right'}, 1000) However I do
I want to absolute position an iframe and define it's left, top, right, bottom
I want to place a textview on the right of a layout and on
I want to keep my footer at the bottom of the page while keeping
i want to keep my app in sync with the Server. The communication between

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.