Overview
This chapter includes some more advanced features such as hiding template columns and designing templates for the Administrator.

Hiding Modules

Sometimes it is desirable to hide certain module areas if there are no modules assigned to that region. You can hide these areas by using the mosCountModules function.

<?php if (mosCountModules( 'right' )) { ?>
  <td>
    <?php mosLoadModules( 'right' ); ?>
  </td>
<?php } ?>

If the mosCountModules function returns a value greater than 1, the table cell will be displayed. If there are no modules defined for the "right" position for this particular page, then the cell will not be displayed. This is a good technique for increasing the horizontal screen width on certain pages.

Using Class Suffixes

TODO


Last Updated ( Wednesday, 18 May 2005 )