hasModules( $positions )

Returns a 1 if the position has modules or a 0 if the position does not have modules.

  • string $positions: The position(s) to test for having modules.

Example:

<?php if (hasModules('left')) modules('left'); ?>
Last modified on Wednesday, 31 March 2010 22:46

Add comment