How to hide column? - Joomla! Forum - community, help and support


i read in documentation:

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support