plz explain?? - Joomla! Forum - community, help and support
ca please explain code
<?php if($this->countmodules('right') != 0) { ?>
<div class="content_right">
<jdoc:include type="modules" name="right" style="right" />
</div> <!-- content right ends -->
<?php } ?>
<?php if($this->countmodules('right') != 0) { ?>
<div class="content_right">
<jdoc:include type="modules" name="right" style="right" />
</div> <!-- content right ends -->
<?php } ?>
in plain english:
- if there modules published module position 'right', then
- begin
- open div class "content_right"
render/include modules published module position 'right' , use style 'right' this
close div of class "content_right"
Comments
Post a Comment