Right menu collapse disable - Beez20
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Jan 21, 2011 8:48 pm
- Contact:
Right menu collapse disable - Beez20
Hi,
how can I disable the "Close info" button? I want my right column to be visible all the time, without this "onclose" option.
I'm new to this Joomla stuff, so if you are willing to give me the asnwer, please keep that in mind.
Thanks!
how can I disable the "Close info" button? I want my right column to be visible all the time, without this "onclose" option.
I'm new to this Joomla stuff, so if you are willing to give me the asnwer, please keep that in mind.
Thanks!
-
- Joomla! Intern
- Posts: 54
- Joined: Tue Aug 26, 2008 7:48 pm
- Contact:
Re: Right menu collapse disable - Beez20
One should expect a template parameter for this, but I don't see one.
But you can edit file index.php in template folder
Look for these lines and comment them out or delete them (starting around line 189):
Regards,
Micrantha
But you can edit file index.php in template folder
Look for these lines and comment them out or delete them (starting around line 189):
Code: Select all
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ2_TEXTRIGHTCLOSE'); ?></span></a>
</div>
Micrantha
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Jan 21, 2011 8:48 pm
- Contact:
Re: Right menu collapse disable - Beez20
Thanks a lot Micrantha, just what I was looking for!!!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jan 24, 2011 3:29 pm
Re: Right menu collapse disable - Beez20
I found this useful aswell, thanks.
- ghanlon
- Joomla! Enthusiast
- Posts: 246
- Joined: Tue Oct 02, 2007 2:39 am
- Location: Florida
- Contact:
Re: Right menu collapse disable - Beez20
Awesome, I was just about to start another thread close to this.
The commenting out works great.
Here is what I have seen.
When I do not have anything on the left column, on the right I only see the closeinfo.
I never see the openinfo. granted closeinfo works it opens and closes the right column but the words never change. If I add content back to left column, the words change again on the right closeinfo/openinfo.
I am not sure if this should be a separate thread or not
The commenting out works great.
Here is what I have seen.
When I do not have anything on the left column, on the right I only see the closeinfo.
I never see the openinfo. granted closeinfo works it opens and closes the right column but the words never change. If I add content back to left column, the words change again on the right closeinfo/openinfo.
I am not sure if this should be a separate thread or not
-
- Joomla! Apprentice
- Posts: 8
- Joined: Tue Mar 27, 2007 4:31 pm
Re: Right menu collapse disable - Beez20
This solution is not quite working. It thought it worked at first (tested on ie, firefox, chrome) but however, I found out today it gives js error on different machine Win7 + IE8. That is weird.
Does anyone know how to set the default as open?
Does anyone know how to set the default as open?
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Mar 02, 2009 8:52 am
- Location: Toulouse, France
- Contact:
Re: Right menu collapse disable - Beez20
Hello all,
I agree, this is not a "clean solution" and does not remove the whole corresponding code.
I wish a "knowledgeable" person (Angie?) would explain how this open/close info as well as the other slide and tabs in html modules effects work in the new beez templates.
Some people say that they "hate" those functions. I'd like to know why! -- apart from the fact that they are not documented.
I agree, this is not a "clean solution" and does not remove the whole corresponding code.
I wish a "knowledgeable" person (Angie?) would explain how this open/close info as well as the other slide and tabs in html modules effects work in the new beez templates.
Some people say that they "hate" those functions. I'd like to know why! -- apart from the fact that they are not documented.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Apr 02, 2011 10:24 am
Re: Right menu collapse disable - Beez20
Hi all,
Comment out the section in the template.php:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez5/javascript/hide.js"></script>
<script type="text/javascript">
var big ='<?php echo (int)$this->params->get('wrapperLarge');?>%';
var small='<?php echo (int)$this->params->get('wrapperSmall'); ?>%';
var altopen='<?php echo JText::_('TPL_BEEZ5_ALTOPEN',true); ?>';
var altclose='<?php echo JText::_('TPL_BEEZ5_ALTCLOSE',true); ?>';
var bildauf='<?php echo $this->baseurl ?>/templates/beez5/images/plus.png';
var bildzu='<?php echo $this->baseurl ?>/templates/beez5/images/minus.png';
var rightopen='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTOPEN',true); ?>';
var rightclose='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?>';
</script>
Then also comment out further down:
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?></span></a>
</div>
And that should disable it and not produce any JavaScript errors in IE.
To comment out use <!-- exampletexttocommentout -->
Hope that helps! This also works for Beez5 template in Joomla 1.6.
Comment out the section in the template.php:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez5/javascript/hide.js"></script>
<script type="text/javascript">
var big ='<?php echo (int)$this->params->get('wrapperLarge');?>%';
var small='<?php echo (int)$this->params->get('wrapperSmall'); ?>%';
var altopen='<?php echo JText::_('TPL_BEEZ5_ALTOPEN',true); ?>';
var altclose='<?php echo JText::_('TPL_BEEZ5_ALTCLOSE',true); ?>';
var bildauf='<?php echo $this->baseurl ?>/templates/beez5/images/plus.png';
var bildzu='<?php echo $this->baseurl ?>/templates/beez5/images/minus.png';
var rightopen='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTOPEN',true); ?>';
var rightclose='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?>';
</script>
Then also comment out further down:
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?></span></a>
</div>
And that should disable it and not produce any JavaScript errors in IE.
To comment out use <!-- exampletexttocommentout -->
Hope that helps! This also works for Beez5 template in Joomla 1.6.
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Mar 02, 2009 8:52 am
- Location: Toulouse, France
- Contact:
Re: Right menu collapse disable - Beez20
@alexsutcliffe
I appreciate this explanation! I know I'm going to fiddle around with these scripts sometimes.
I appreciate this explanation! I know I'm going to fiddle around with these scripts sometimes.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat Mar 28, 2009 5:37 pm
Re: Right menu collapse disable - Beez20
Does this also work for the left hand column as well, or does something else needs to be done? I would like to do something similar on the left hand side.
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Mar 02, 2009 8:52 am
- Location: Toulouse, France
- Contact:
Re: Right menu collapse disable - Beez20
On the templates we're talking about, the Open/Close info only happens on the right.
If you want to implement this on the left, my feeling is that you'd have to go deep in the template's code.
But then I am no PHP guru.
If you want to implement this on the left, my feeling is that you'd have to go deep in the template's code.
But then I am no PHP guru.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: Right menu collapse disable - Beez20
Also make sure you remove this line:
$doc->addScript($this->baseurl.'/templates/beez_20/javascript/md_stylechanger.js', 'text/javascript', true);
$doc->addScript($this->baseurl.'/templates/beez_20/javascript/md_stylechanger.js', 'text/javascript', true);
-
- Joomla! Apprentice
- Posts: 9
- Joined: Thu Jun 16, 2011 4:58 pm
Re: Right menu collapse disable - Beez20
Hello all,
I'm an absolute Joomla beginner, and I'm making a test site.
I'm using the random image module to display a random banner from a folder with several of them. I'm using the beez_20 template, and the module is located on the top right.
I'm having the same problem with the "close" div.
I tried the first solution and now "CLOSE INFO" doesn't show up there any more, but there's a blank space where it used to be, and obviously it looks quite bad.
I was going to try the second suggested solution, but since I'm new to this CMS, I couldn't find the template.php file (I'm running 1.6, maybe this doesn't apply to this version).
Any help will be appreciated.
Thanks!
I'm an absolute Joomla beginner, and I'm making a test site.
I'm using the random image module to display a random banner from a folder with several of them. I'm using the beez_20 template, and the module is located on the top right.
I'm having the same problem with the "close" div.
I tried the first solution and now "CLOSE INFO" doesn't show up there any more, but there's a blank space where it used to be, and obviously it looks quite bad.
I was going to try the second suggested solution, but since I'm new to this CMS, I couldn't find the template.php file (I'm running 1.6, maybe this doesn't apply to this version).
Any help will be appreciated.
Thanks!
-
- Joomla! Apprentice
- Posts: 11
- Joined: Tue Jun 28, 2011 7:00 pm
Re: Right menu collapse disable - Beez20
I cannot find the template.php, either. Where is this located?
-
- Joomla! Apprentice
- Posts: 35
- Joined: Wed Apr 23, 2008 6:43 pm
Re: Right menu collapse disable - Beez20
hi
i deleted everthig that is wroiten here
yes close info Text is now deleted, but the space is still there, how to fix this problem?
betwen news on index and right module(posotion-6) there is still white blank space
ragrds
igor
i deleted everthig that is wroiten here
yes close info Text is now deleted, but the space is still there, how to fix this problem?
betwen news on index and right module(posotion-6) there is still white blank space
ragrds
igor
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Jan 23, 2011 12:53 am
Re: Right menu collapse disable - Beez20
What I want to do is change the text from OPEN/CLOSE INFO to OPEN/CLOSE PANEL, maybe even add a tiny pointy-finger graphic to it.
Any idea where to find that in Beez_20?
Niether the template.php nor the hide.js contains the words displayed
Any idea where to find that in Beez_20?
Niether the template.php nor the hide.js contains the words displayed
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Oct 02, 2011 2:33 pm
Re: Right menu collapse disable - Beez20
I have the same situation and appreciate help. Thanks.
Dejan
Ditron
Ditron
- duyet
- Joomla! Guru
- Posts: 935
- Joined: Wed Sep 21, 2011 8:21 pm
- Location: on earth
- Contact:
Re: Right menu collapse disable - Beez20
In Joomla 1.7 the code
is located in \templates\beez_20\index.php at lin 88
Code: Select all
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez_20/javascript/hide.js"></script>
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Oct 02, 2011 2:33 pm
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Aug 16, 2011 12:35 pm
Re: Right menu collapse disable - Beez20
To change the text from "Open info" to something else: the code to set the string is in index.php in the beez_20 directory
var rightopen='<?php echo JText::_('TPL_BEEZ2_TEXTRIGHTOPEN',true); ?>'
The actual text is language dependent. For English, it is in the beez_20 language file
language/en-GB/en-GB.tpl_beez_20.ini
and is
TPL_BEEZ2_TEXTRIGHTOPEN="Open info"
Change this.
Jan
var rightopen='<?php echo JText::_('TPL_BEEZ2_TEXTRIGHTOPEN',true); ?>'
The actual text is language dependent. For English, it is in the beez_20 language file
language/en-GB/en-GB.tpl_beez_20.ini
and is
TPL_BEEZ2_TEXTRIGHTOPEN="Open info"
Change this.
Jan
-
- Joomla! Apprentice
- Posts: 18
- Joined: Sat Mar 26, 2011 12:08 pm
Re: Right menu collapse disable - Beez20
Anyone willing to enter these bits of code with the "comment out" correctly done? I do not really understand how it is supposed to look. Deleting the three lines of code in the index.php a month just caused me 2 days of suffering until I remembered I had done that. Some browsers will open the page with the column closed and no way to open it.alexsutcliffe wrote:Hi all,
Comment out the section in the template.php:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez5/javascript/hide.js"></script>
<script type="text/javascript">
var big ='<?php echo (int)$this->params->get('wrapperLarge');?>%';
var small='<?php echo (int)$this->params->get('wrapperSmall'); ?>%';
var altopen='<?php echo JText::_('TPL_BEEZ5_ALTOPEN',true); ?>';
var altclose='<?php echo JText::_('TPL_BEEZ5_ALTCLOSE',true); ?>';
var bildauf='<?php echo $this->baseurl ?>/templates/beez5/images/plus.png';
var bildzu='<?php echo $this->baseurl ?>/templates/beez5/images/minus.png';
var rightopen='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTOPEN',true); ?>';
var rightclose='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?>';
</script>
Then also comment out further down:
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?></span></a>
</div>
And that should disable it and not produce any JavaScript errors in IE.
To comment out use <!-- exampletexttocommentout -->
Hope that helps! This also works for Beez5 template in Joomla 1.6.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Aug 03, 2011 11:10 am
Re: Right menu collapse disable - Beez20
Hi. I think my reply is a bit late. Thanks for the info. Helped me a lot. One question that was not answered is: Where is the "template.php" file? It's actually the "index.php" file for Joomla! 1.7. In the root of the installation directory. Don't know about the other versions.
-
- Joomla! Enthusiast
- Posts: 109
- Joined: Fri Aug 06, 2010 1:56 pm
Re: Right menu collapse disable - Beez20
Hi, where do I place <!-- exampletexttocommentout --> ?FlyingA wrote:Anyone willing to enter these bits of code with the "comment out" correctly done? I do not really understand how it is supposed to look. Deleting the three lines of code in the index.php a month just caused me 2 days of suffering until I remembered I had done that. Some browsers will open the page with the column closed and no way to open it.alexsutcliffe wrote:Hi all,
Comment out the section in the template.php:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez5/javascript/hide.js"></script>
<script type="text/javascript">
var big ='<?php echo (int)$this->params->get('wrapperLarge');?>%';
var small='<?php echo (int)$this->params->get('wrapperSmall'); ?>%';
var altopen='<?php echo JText::_('TPL_BEEZ5_ALTOPEN',true); ?>';
var altclose='<?php echo JText::_('TPL_BEEZ5_ALTCLOSE',true); ?>';
var bildauf='<?php echo $this->baseurl ?>/templates/beez5/images/plus.png';
var bildzu='<?php echo $this->baseurl ?>/templates/beez5/images/minus.png';
var rightopen='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTOPEN',true); ?>';
var rightclose='<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?>';
</script>
Then also comment out further down:
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?></span></a>
</div>
And that should disable it and not produce any JavaScript errors in IE.
To comment out use <!-- exampletexttocommentout -->
Hope that helps! This also works for Beez5 template in Joomla 1.6.
I have tried placing it in a few different places but not the right place.
Appreciate help,
Andy
- duyet
- Joomla! Guru
- Posts: 935
- Joined: Wed Sep 21, 2011 8:21 pm
- Location: on earth
- Contact:
Re: Right menu collapse disable - Beez20
For example if you want to remove the "Open/Close", then comment it out as following:
It will be treated as HTML comment and will not be shown in your browser.
Code: Select all
<!--
<div id="close">
<a href="#" onclick="auf('right')">
<span id="bild">
<?php echo JText::_('TPL_BEEZ5_TEXTRIGHTCLOSE'); ?></span></a>
</div>
-->
-
- Joomla! Enthusiast
- Posts: 109
- Joined: Fri Aug 06, 2010 1:56 pm
Re: Right menu collapse disable - Beez20
Thank you very much,
I can now complete the site without changing the template.
Much appreciated.
Andy
I can now complete the site without changing the template.
Much appreciated.
Andy
-
- Joomla! Apprentice
- Posts: 18
- Joined: Sat Mar 26, 2011 12:08 pm
Re: Right menu collapse disable - Beez20
And how do you handle the browsers (chrome on mac) that open the website with the column closed and no way to open it?
-
- Joomla! Enthusiast
- Posts: 109
- Joined: Fri Aug 06, 2010 1:56 pm
Re: Right menu collapse disable - Beez20
Hi,
I hadn't thought of other browsers so I installed chrome and the site works fine.
I am using windows maybe it's a problem with mac version?
Andy
I hadn't thought of other browsers so I installed chrome and the site works fine.
I am using windows maybe it's a problem with mac version?
Andy
-
- Joomla! Apprentice
- Posts: 16
- Joined: Tue Feb 07, 2012 7:20 pm
- Location: Slovakia
Re: Right menu collapse disable - Beez20
Try to find position.css and change the wrapper width - line 66IgorMM wrote:hi
i deleted everthig that is wroiten here
yes close info Text is now deleted, but the space is still there, how to fix this problem?
betwen news on index and right module(posotion-6) there is still white blank space
ragrds
igor
-
- Joomla! Enthusiast
- Posts: 106
- Joined: Thu Feb 14, 2008 11:19 am
Re: Right menu collapse disable - Beez20
If you just want it working..... same for beez5 or 20
To reduce space wasted and stop jumping around....
Editing file "css/position.css" in template "beez5"
wrapper from 53% to 75%
wrapper 2 72 to 90
edit beez 5 style setting wrapper small to 75 other to 90
– plus language file root/language/en-GB TPL_BEEZ5_TEXTRIGHTCLOSE="Close info" to “Show/Hide Menu” (or whatever text you want, this wraps nicely... assuming your text was not changing of course)
Would be nice if someone could fix this properly
To reduce space wasted and stop jumping around....
Editing file "css/position.css" in template "beez5"
wrapper from 53% to 75%
wrapper 2 72 to 90
edit beez 5 style setting wrapper small to 75 other to 90
– plus language file root/language/en-GB TPL_BEEZ5_TEXTRIGHTCLOSE="Close info" to “Show/Hide Menu” (or whatever text you want, this wraps nicely... assuming your text was not changing of course)
Would be nice if someone could fix this properly
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Jan 16, 2013 8:15 pm
- Location: NL
Re: Right menu collapse disable - Beez20
In Joomla 3.0 Beez3 it is very simple:
In Module Manager unpublish the module "All Modules" (only this one, do not unpublish all modules).
Do not know if this works for earlier versions.
regards
HrmWie
In Module Manager unpublish the module "All Modules" (only this one, do not unpublish all modules).
Do not know if this works for earlier versions.
regards
HrmWie