Joomla 2.5 Tutorial – How to Remove the “Close Info” “Open Info” in Beez 20

by Elaine on February 16, 2012

Joomla 2.5 TutorialsDisable the Collapsable Right Menu – “Open Info”/”Close Info” Link in Beez20 or Beez 5 Template.

Now this is a strange addition to the Beez20 template.  Strange in that they added this feature and didn’t make it customizable for people to easily remove this link.  Perhaps in the future, they can make this into a module and allow this functionality to be easily added or removed.  I personally don’t like that my right menu is collapsible either and when Areruu emailed me to ask me to help, I went searching for an answer.

*** Revised on April 12, 2012 – Domagoj mentioned in a comment that this was not working so I tested it out and yes in fact it wasn’t. So I made a revision to 3C as you will see below.    Delete the code you find in 3c instead of commenting it out.

If you add a module to a position on the right side, i.e. position-6, position-8, position-3, this ‘Close Info’ or ‘Open Info’ link will display above the right column.  (see Beez_20 module positions here).  See screenshot below:

cmsmind elaine joomla25 remove close info open info right menu 1 Joomla 2.5 Tutorial   How to Remove the Close Info Open Info in Beez 20

Joomla 2.5 - Close Info/Open Info

I want to permanently display my right side menu without the option for users to use the “Close Info” or “Open Info” button.  I was able to successfully remove this option and below is an overview of the steps:

  • Find the Template Manager – Customize Template in Template Manager
  • Edit the Template Master File in Template Manager
  • Code Changes to Remove ‘Close Info’/'Open Info’
cmsmind elaine joomla25 change footer 2 Joomla 2.5 Tutorial   How to Remove the Close Info Open Info in Beez 20

1. Joomla 2.5 Change to the Templates Tab

1.  Find the Template Manager – Customize Template

  • 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 Tutorial   How to Remove the Close Info Open Info 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 Tutorial   How to Remove the Close Info Open Info in Beez 20

2. Joomla 2.5 Edit Template Page Template HTML

3.   Code Changes to Remove ‘Close Info’/'Open Info’

In the “Template Manager: Edit”, Editing file “index.php” in template “beez_20″ - You will comment out code in 3 different places.
cmsmind elaine joomla25 remove collapsable right menu open close 4 Joomla 2.5 Tutorial   How to Remove the Close Info Open Info in Beez 20

3a, 3b. Joomla 2.5 - Remove Close/Open Info Links on Right Menu

a.  Search for code:

var altopen=’<?php echo JText::_(‘TPL_BEEZ2_ALTOPEN’, true); ?>’;
var altclose=’<?php echo JText::_(‘TPL_BEEZ2_ALTCLOSE’, true); ?>’;

  • Add this code to comment out the lines – use  /**  and **/ in red
/** 3a Commented to Remove the Right Collapsible Menu “Close Info/Open Info” Links – Elaine CmsMind.com Feb 16, 2012
var altopen=’<?php echo JText::_(‘TPL_BEEZ2_ALTOPEN’, true); ?>’;
var altclose=’<?php echo JText::_(‘TPL_BEEZ2_ALTCLOSE’, true); ?>’;
**/
b.  Search for code:
var rightopen=’<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTOPEN’, true); ?>’;
var rightclose=’<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTCLOSE’); ?>’;
  • Add this code to comment out the lines – use /**  and **/  in red
/** 3b Commented to Remove the Right Collapsible Menu “Close Info/Open Info” Links – Elaine CmsMind.com Feb 16, 2012
var right open=’<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTOPEN’, true); ?>’;
var rightclose=’<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTCLOSE’); ?>’;
**/
cmsmind elaine joomla25 remove close info open info right menu code 3 Joomla 2.5 Tutorial   How to Remove the Close Info Open Info in Beez 20

3c. Joomla 2.5 - Remove Close Info, Open Info Links on Right Menu

c.  Search for code:

<div id=”close”>
<a href=”#” onclick=”auf(‘right’)”>
<span id=”bild”>
<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTCLOSE’); ?></span></a>
</div>

  • Remove the code above  - Revised Apr 12, 2012
  • Revised on April 12, 2012 Add this code to comment out the lines – use <!–  and  –> in red 

<!–  3c Commented to Remove the Right Collapsible Menu “Close Info/Open Info” Links – Elaine CmsMind.com Feb 16, 2012
<div id=”close”>
<a href=”#” onclick=”auf(‘right’)”>
<span id=”bild”>
<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTCLOSE’); ?></span></a>
</div>

–>

  • Click on ‘Save & Close’

Now you can refresh your Joomla 2.5 website and the option to Close/Open the right menu is gone.   The Right menu permanently displays and is no longer collipsable.

Hope that helps you.

Thanks,

Elaine

 Joomla 2.5 Tutorial   How to Remove the Close Info Open Info 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

Related Wordpress and Joomla Help:

  1. Joomla 2.5 – How to Change the text “Close Info” and “Open Info”
  2. Joomla 1.6 Beez 20 Template – Where is the header image?
  3. Joomla 1.7.3 Tutorial – How to Remove the Caps from the Main Menu in the Top Position
  4. Joomla 2.5 – How to Remove Footer – Powered by Joomla
  5. Joomla 2.5 – How to Always Hide the Right Column in Beez_20

{ 52 comments… read them below or add one }

BS February 21, 2012 at 10:43 am

Nice explanation, do you know how to set this module always open and then delete the OPEN/CLOSE button. In some cases the right positions 6,8,3 just go missing when I do as you say.

Thanks!

Reply

bradh February 23, 2012 at 10:11 pm

How about a variant that keeps the open/close info but the default is to have it hidden (closed)? i’ll look at where you are editing this to see if it is obvious. Well rummaged around and tried a few things and basically it turned it all off (actually an easier way to turn it off, it seems is through one simple addition:

Find this, which is very near the top of the template file:
// check modules
$showRightColumn = ($this->countModules(‘position-3′) or $this->countModules(‘position-6′) or $this->countModules(‘position-8′));

either replace it or add a line right after it (which makes it easier to restore) to set it to zero (not alpha o):

$showRightColumn = 0;

Reply

Elaine February 24, 2012 at 12:53 pm

Hi Bradh,
I’m going to give that a try right now. Thanks for your tip!
elaine

Reply

Elaine February 24, 2012 at 1:00 pm

Hi Bradh,
When I added the
$showRightColumn = 0;
it permanently removed the right column. Not sure if that was the intent. Is there an easier way to always show the right column? But thanks for the tip, I will add it to my posts.
Thanks for your visit,
Elaine

Reply

Roger March 8, 2012 at 5:58 pm

I tried the method above and it made the whole right side disappear. Using v2.5.2. thanks

Reply

Elaine March 8, 2012 at 11:12 pm

Hi Roger,
No problem, glad the post helped you.
Thanks for your visit,
elaine

Reply

Piotrek March 10, 2012 at 3:56 pm

Podziękowania z Polski… Bardzo mi pomogłaś. Będę na forach zamieszczał link do Twojej porady, aby pomóc innym

Dziękuję

Reply

Elaine March 11, 2012 at 2:14 pm

(used google translate to understand…..and used google translate to write a response back, sorry if it doesn’t make sense)
Nie ma sprawy. Cieszę się, że mój post pomógł ci.
Dziękujemy za wizyty,
elaine

Reply

Babo March 20, 2012 at 11:47 pm

Thank you mate, some stupid things in Joomla realy sux … ;)

Reply

Elaine March 21, 2012 at 10:18 pm

Hi Babo,
No problem! lol some things do….
thanks for your visit,
elaine

Reply

Ann March 28, 2012 at 1:08 am

Thank you! It helped me a lot.

Reply

Elaine March 29, 2012 at 1:32 pm

Hi Ann,
No problem, glad the post helped you. :)
Thanks for your visit,
elaine

Reply

Jean-Christophe March 30, 2012 at 4:39 pm

hi,
many, many thanks for this post. It really helped me.
Keep running, swiming, cycling and helping the community !
Cheers,
jc

Reply

Elaine March 30, 2012 at 6:30 pm

Hi JC,
No problem, glad my post helped you. Thanks for the encouragement haha I appreciate it.
regards,
elaine

Reply

durahman April 9, 2012 at 6:58 am

thanks. it help me.

Reply

Elaine April 9, 2012 at 11:11 am

Hi Durahman,
No problem. Glad my post helped you!
Thanks for your visit,
elaine

Reply

Domagoj April 13, 2012 at 1:22 am

Hello, I did all this, and now when I put the position 8,3, or 6 i don’t see the module

The module does not show in the RIGHT column / position

But I want to have RIGHT position for my module, if I change it back to previous, the I get open / close s*** again.

Can you help, so I can put module position right – OPEN ALL THE TIME !!!!

Reply

Elaine April 13, 2012 at 2:11 am

Hi Domagoj,
Sorry about that. I made a revision to the post and tested it out. It works now. Give it a try and let me know if you have problems.
Thanks for your visit,
elaine

Reply

Aung April 16, 2012 at 8:50 am

Hi Elaine,

I encounter the same problem with beez5 template.
I follow your instruction, the revised one.
I could not set module for position 6,8 & 3.
thanks in advance

Reply

Elaine April 16, 2012 at 2:57 pm

Hi Aung,
What Joomla version are you using? can you send me an email to your website? I will send you an email if i have more questions.
thanks for your visit,
elaine

Reply

lawal May 12, 2012 at 10:48 pm

hello elaine
i did try your method but everything just disappeared(the whole right column)
what is wrong
thanks

Reply

lawal May 12, 2012 at 10:51 pm

Oh by the way I’m on joomla 2.5.4

Reply

fabricio May 28, 2012 at 9:36 am

how to change the string open / close information

Reply

Elaine May 28, 2012 at 12:51 pm

Hi Fabrico,
You mean you want to change the word ‘Close” and “Open” to other words?
Thanks for your visit,
elaine

Reply

fabricio May 29, 2012 at 11:21 am

yes, how to do it??

Reply

Elaine June 1, 2012 at 2:50 am

Hi Farbrico,
I’ve created a response for you in a post and it’s here. Let me know if you have any questions.
Thanks,
Elaine

Reply

Kilian June 7, 2012 at 3:05 pm

Hi Elaine,
thanks for a great tutorial! I’d like to have the right column opened on the frontpage but initially closed when you are on any other page. I fiddled around but can’t make it work. Can you help me? Many thanks!
Kilian

Reply

bachem June 8, 2012 at 8:57 am

Hi Elaine,
This is what I’m looking for..
I follow your tutorial and its work!!
Thank you

*Sorry for my bad English

Reply

Elaine June 8, 2012 at 6:00 pm

Hi Bachem,
No problem. I’m glad I was able to help you. Your english is perfect! :)
Thanks for your visit,
elaine

Reply

Melinda Cooper June 12, 2012 at 5:55 pm

I cannot get this to work, if i follow your directions, it completely removes the right column.

Reply

JT Espinosa July 28, 2012 at 12:45 am

You are a genius. Thank you!

Reply

DIVJOT July 31, 2012 at 5:15 pm

thnxx i used ur tip
but the size of “font option ” on the right corner of my website is “undefined” now what to do ?? please help me !!

Reply

visit site August 20, 2012 at 6:07 pm

Oh my goodness! Impressive article dude! Thank you, However I am encountering problems with your RSS.
I don’t understand why I cannot join it. Is there anybody having similar RSS problems? Anybody who knows the solution can you kindly respond? Thanks!!

Reply

Deb Harrison August 21, 2012 at 5:41 pm

Hi Elaine

Great tips! However, are we going to have to go through the same procedure, every time Joomla is upgraded (especially the template?)

I only ask because this is what I have found in the past.

Reply

Guy April 28, 2013 at 4:12 pm

Just did an upgrade… and yes, had to go through this procedure again. I don’t know how to stop that happening, anyone else?

Reply

Jerry August 25, 2012 at 2:53 am

Very good tutorial
I was adding modules to the right side and scratching my head wondering why they didn’t show up.
Then I saw the little open info link.
It isn’t a very useful feature.
One thing I think would be good to mention in your tutorials is to do a backup before making major
code changes. What I do is just copy all the code and paste it into notepad (just in case)

Reply

Persephone August 30, 2012 at 1:25 pm

Thank you Elaine. This was a nice solution and easy to follow. Its great that we have people like you to help us that are not so far along the learning curve. Please keep it coming.

Persephone

Reply

Elaine September 7, 2012 at 12:03 pm

Hi Persephone,
Thanks for your kind comments.
regards,
elaine

Reply

David Malone August 31, 2012 at 4:06 am

This is very helpful information, but the Beez2 template for Joomla 2.5 does not have this code
in the index.php file. I have the same problems with trying to remove this and also trying to remove the space on the upper part of page near header. Any suggestions?

Reply

Jeanbad September 17, 2012 at 8:40 pm

Thank you Elaine. It worked like a charm!!!

Reply

Eleanore October 4, 2012 at 6:40 am

My partner and I absolutely love your blog and find nearly all of your post’s to be just what I’m looking for.
Do you offer guest writers to write content available for you?

I wouldn’t mind writing a post or elaborating on a number of the subjects you write related to here. Again, awesome blog!

Reply

Elaine October 4, 2012 at 4:41 pm

Hi Eleanore,
That’s great! Sure I welcome and appreciate guest writers! Send me an email on what you would like to write about and we can go from there. elaine @ Cmsmind.com
Thanks,
Elaine

Reply

Brandon October 17, 2012 at 4:47 pm

The reason your commented 3c didn’t work is because it’s supposed to be instead of . You have it correct in the image, but not in text.

Reply

Craig November 2, 2012 at 1:29 pm

Thanks Elaine, this worked great!

Reply

Elaine November 2, 2012 at 2:25 pm

Hi Craig,
No problem. Glad it worked for you :)
Thanks for your visit!
elaine

Reply

jim November 12, 2012 at 4:49 pm

thank you very much for this post – it drove me crazy for a few days . turns out i just had to click on “open info” (i’d closed it without knowing it). i’m going to make sure no one else does that on my site!!

Reply

Bina December 23, 2012 at 7:30 pm

Very usefull – thank you very much!!

Reply

Guy December 31, 2012 at 10:49 pm

Thanks – spent ages looking for a way to get rid of these. PS the commenting out worked for me – I used “//”for each line of the php variables and then for the HTML div

Reply

Elaine January 6, 2013 at 12:43 am

Hi Guy,
Thanks for the feedback, glad commenting out the lines worked for you!
happy new year!
elaine

Reply

WhataMack January 6, 2013 at 10:47 pm

Thank you so much for this info!

Reply

Christopher March 24, 2013 at 4:37 pm

If possible can please also post the same tutorial for JOOMLA 3.0 + BEEZ3?

That would be very fine – I enjoy your tutorials very much.

Thx!

Reply

Christopher March 24, 2013 at 5:44 pm

ok. It’s very easy

index.php / beez template:

delete it. And now everything is fine.

Reply

Leave a Comment

Captcha Captcha Reload

Notify via Email Only if someone replies to My Comment

Older Post:

Newer Post: