Joomla 2.5 Tutorials – Disable 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:

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’

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

- 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’

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

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, 2012var altopen='<?php echo JText::_(‘TPL_BEEZ2_ALTOPEN’, true); ?>’;
var altclose='<?php echo JText::_(‘TPL_BEEZ2_ALTCLOSE’, true); ?>’;**/
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, 2012var right open='<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTOPEN’, true); ?>’;var rightclose='<?php echo JText::_(‘TPL_BEEZ2_TEXTRIGHTCLOSE’); ?>’;**/

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
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!
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;
Hi Bradh,
I’m going to give that a try right now. Thanks for your tip!
elaine
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
I tried the method above and it made the whole right side disappear. Using v2.5.2. thanks
Hi Roger,
No problem, glad the post helped you.
Thanks for your visit,
elaine
Podziękowania z Polski… Bardzo mi pomogłaś. Będę na forach zamieszczał link do Twojej porady, aby pomóc innym
Dziękuję
(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
Thank you mate, some stupid things in Joomla realy sux … 😉
Hi Babo,
No problem! lol some things do….
thanks for your visit,
elaine
Thank you! It helped me a lot.
Hi Ann,
No problem, glad the post helped you. 🙂
Thanks for your visit,
elaine
hi,
many, many thanks for this post. It really helped me.
Keep running, swiming, cycling and helping the community !
Cheers,
jc
Hi JC,
No problem, glad my post helped you. Thanks for the encouragement haha I appreciate it.
regards,
elaine
thanks. it help me.
Hi Durahman,
No problem. Glad my post helped you!
Thanks for your visit,
elaine
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 !!!!
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
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
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
hello elaine
i did try your method but everything just disappeared(the whole right column)
what is wrong
thanks
Oh by the way I’m on joomla 2.5.4
how to change the string open / close information
Hi Fabrico,
You mean you want to change the word ‘Close” and “Open” to other words?
Thanks for your visit,
elaine
yes, how to do it??
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
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
Hi Elaine,
This is what I’m looking for..
I follow your tutorial and its work!!
Thank you
*Sorry for my bad English
Hi Bachem,
No problem. I’m glad I was able to help you. Your english is perfect! 🙂
Thanks for your visit,
elaine
I cannot get this to work, if i follow your directions, it completely removes the right column.
You are a genius. Thank you!
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 !!
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!!
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.
Just did an upgrade… and yes, had to go through this procedure again. I don’t know how to stop that happening, anyone else?
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)
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
Hi Persephone,
Thanks for your kind comments.
regards,
elaine
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?
Thank you Elaine. It worked like a charm!!!
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!
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
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.
Thanks Elaine, this worked great!
Hi Craig,
No problem. Glad it worked for you 🙂
Thanks for your visit!
elaine
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!!
Very usefull – thank you very much!!
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
Hi Guy,
Thanks for the feedback, glad commenting out the lines worked for you!
happy new year!
elaine
Thank you so much for this info!
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!
ok. It’s very easy
index.php / beez template:
delete it. And now everything is fine.
Nice insturctions. But can you give any for beez3 in joomla 3.1?
or edit file:
beez3\css\position.css
line:
/* ++++++++++++++ button for closing right column ++++++++++++++ */
#close {
margin-right: 0;
text-transform: uppercase;
}
#close span {
position: absolute;
right: 20px;
z-index: 10000;
top: 5px;
line-height: 1.5em;
margin-top:20px;
padding: 5px;
font-size: 0.0em a {
display: block;
overflow: hidden
}
#close > a:hover span {
background: #095197
}
/* ++++++++++++++ button for closing right column ++++++++++++++ */
#close {
margin-right: 0;
text-transform: uppercase;
}
#close span {
position: absolute;
right: 20px;
z-index: 10000;
top: 5px;
line-height: 1.5em;
margin-top:20px;
padding: 5px;
font-size: 0.0em
ADD LAST LINE !!! :))) “” font-size: 0.0em””
or edit file:
beez3\css\position.css
line:
/* ++++++++++++++ button for closing right column ++++++++++++++ */
#close {
margin-right: 0;
text-transform: uppercase;
}
#close span {
position: absolute;
right: 20px;
z-index: 10000;
top: 5px;
line-height: 1.5em;
margin-top:20px;
padding: 5px;
font-size: 0.0em
ADD LAST LINE !!! :))) “” font-size: 0.0em””
Hi Elaine,
I got the same problem as Alex:
“Alex July 18, 2013 at 8:57 am
Nice insturctions. But can you give any for beez3 in joomla 3.1?”
I want to get rid of the info button AND gain the whole space for content and column. By deleting the last part as you said the button already vanished but the content is still squeezed.
In “index.php” I can´t find any line as in
a.
var altopen=’’;
var altclose=’’;
oder b.
var rightopen=’’;
var rightclose=’’;
I must commit I cannot image a line that might match the function – I can only guess and show you:
If this isn´t the right part just let me know and i will try to show you another one.
Thank you so much!
Ok that didn´t work – is there a way to show you an example line?
Brilliant, thanks! Easy to follow explanation – and it works!
Thanks a lot. Perfect yours instructions
Thanks a lot, perfect instructions
Thank you Elaine!