beezHide style and state in beez_20 template

Locked
mnhuda
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Sep 06, 2012 6:01 pm

beezHide style and state in beez_20 template

Post by mnhuda » Mon Dec 24, 2012 3:42 am

Hi,
I am using beez_20 template. In the index.php file, Position-4 uses

<jdoc:include type="modules" name="position-4" style="beezHide" headerLevel="3" state="0 " />

What I understood that [style="beezHide" and state="0 "] should keep a module collapsed. However, it is not working in my site.

Any suggestion from experts!!

Thanks
Nurul

jtut
I've been banned!
Posts: 429
Joined: Thu Nov 24, 2011 2:57 am
Location: http://joomtut.com
Contact:

Re: beezHide style and state in beez_20 template

Post by jtut » Tue Dec 25, 2012 1:59 pm

state="0 " => Collapse, state="1 " => Expand
Please clear your web browser's cache to applying the changes.
Joomla! support - Joomla! tutorials and more -> http://joomtut.com
14 steps to creating a Joomla! website with video clip tutorials -> http://joomtut.com/joomla-clip.html

mnhuda
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Sep 06, 2012 6:01 pm

Re: beezHide style and state in beez_20 template

Post by mnhuda » Wed Dec 26, 2012 4:52 am

Hi jtut,
Thanks for the reply. I knew that state="0 " => Collapse, state="1 " => Expand. However, it didn't work in my site. I figured out what was causing the problem.

When I removes "Font size |Bigger|Reset|Smaller" from the index.php by removing [<div id="fontsize"></div>], the side effect was "state=0" was not working.

After some experiments, finally I could make it work by removing following line instead of removing [<div id="fontsize"></div>],

$doc->addScript($this->baseurl.'/templates/'.$this->template.'/javascript/md_stylechanger.js', 'text/javascript');


Thanks .
Nurul


Locked

Return to “International Support Center”