Loading...
JoomlaJoomla 2.5Joomla Tutorials

Joomla 2.5 – How to Always Hide the Right Column in Beez_20

Joomla 2.5 Tutorial – How to Permanently Hide the Right column in Beez_20

cmsmind joomla 25 install activate new template 1 Joomla 2.5   How to Always Hide the Right Column in Beez 20
1. Joomla 2.5 - Template Manager

This tip is provided by Bradh who was responding to my post here about “How to Remove the Collapsible Column – Close/Open Info” in Beez_20.  It’s very helpful if you have no modules assigned to the right side of your template yet the right column still shows.  I’ve seen a couple forums where this problem was happening.

Here is an Overview of How to Always Hide the Right Column – Position-6, Position-8, Position-3.  You can view the Beez_20 template map here.

  • Customize Template in Template Manager
  • Edit the Template Master File in Template Manager
  • Add code to hide the Right Column
cmsmind elaine joomla25 change footer 2 Joomla 2.5   How to Always Hide the Right Column in Beez 20
1. Joomla 2.5 Change to the Templates Tab

1.  Customize Template in Template Manager

  • Login to your Joomla 2.5 Administrator backend
  • Click  on Extensions, Template Manager
  • Switch to the ‘Templates’ tab

2.  Edit the Template Master File in Template Manager

cmsmind elaine joomla25 change footer 3 Joomla 2.5   How to Always Hide the Right Column in Beez 20
2. Joomla 2.5 Edit Beez_20 Details & Files
  • In the Templates Manager: Templates
  • Scroll down and click on ‘Beez_20 Details and Files’
  • Under Template Master Files, Click on ‘Edit main Page templates’
cmsmind elaine joomla25 change footer 4 Joomla 2.5   How to Always Hide the Right Column in Beez 20
2. Joomla 2.5 Edit Template Page Template HTML

3.  Add code to hide the Right Column

In the “Template Manager: Edit”, Editing file “index.php” in template “beez_20″:

  • Search for the following code:

[code]$showleft                        = ($this->countModules(‘position-4’) or $this->countModules(‘position-7’) or $this->countModules(‘position-5’));[/code]

  • Add this code below it:

[code]// Added Feb 24, 2012 by Elaine CmsMind.com to Always hide the right column – position 6,8,3
$showRightColumn = 0;[/code]

  • Your code should look like the screenshot below:
cmsmind elaine joomla 2 5 always hide right column 1 Joomla 2.5   How to Always Hide the Right Column in Beez 20
3. Joomla 2.5 - Always hide right column in Beez20
  •  Click  on ‘Save & Close’

Now refresh your Joomla 2.5 website and your right column should always be hidden / closed.  If you have any questions, you can email or leave a comment.

Thanks,

Elaine

 Joomla 2.5   How to Always Hide the Right Column in Beez 20

Elaine

Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

11 comments
    1. Martin

      Hi all
      I’m thinking about the same thing. Is there a solution for positions on the left (e.g. position-7)?

      Thanks

  1. Rolando

    Hello,
    I am in need of some minor help and I would be willing to pay you if you could help me for what I need ASAP, I have most of the site setup already which is joomla 2.5 and using the Beez_20 template which I have modififed a bit, but what I need is , to make the content area 100% to re-size with any browser and also have a different background in the content area for different pages,
    Please let me know if this is something that you can do or help me with, I’m desperate and need to do this as soon as possible, Thank you so much for any help or direction

    1. Kitti

      Hi Elaine and Rolando,

      I also have same requirement with Rolando. I have followed Elaine’s code as above but it did not work.
      Is there any other advice?

      Thank you,

      1. The Gnome

        Yes I have the same problem i would like to keep the left and right banner but make them smaler. can you help please.

  2. Jerry

    I must be missing something here, why would you want to “Permanently Hide the Right column”
    just don’t put anything in those module positions
    Doesn’t that just limit your options?

    1. Elaine

      Hi Jerry,
      It’s just a tutorial on how to hide the right column. Some people want that side hidden because they don’t use the right side. In some cases the right column still shows up.
      Thanks for your visit!
      elaine

  3. suhag

    Hi Elaine,
    My Problem is Right side module appear in below. I am using joomla 2.5 Beez5 template. When i set custom module in top right position, it was ok. but after some modification right side appear in below.
    and Right side shows as blank. What is the solution of this problem , please help me asap.

  4. Matej

    Q1: I would like modules in positions 3 to appear bellow the modules in the left column (Beez20, J2.5). I tried to change my index.php page, but I have failed.

    Q2: Is there any simple solution to change the order of the positions of the modules in the left column?

    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload