How to hide column? - Joomla! Forum - community, help and support
i read in documentation:
it's not working me. still leaves blank column when module not there.
my css wrong though
code: select all
<?php if ($this->countmodules( 'user1 or user2' )) : ?>
<div class="user1user2">
<?php if ($this->countmodules( 'user1' )) : ?>
<jdoc:include type="modules" name="user1" style="xhtml" />
<?php endif; ?>
<?php if ($this->countmodules( 'user2' )) : ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php endif; ?>
</div>
<?php endif; ?>it's not working me. still leaves blank column when module not there.
my css wrong though
the 'user1user2' class needs specified in css. have @ 1 of templates installed 2.5 , see how declare variables depending on module positions ocuppied(or empty. how variables used in class of divs. @ css.
Comments
Post a Comment