Joomla 2.5.6 Template layout control with php code
Wed, 12/12/2012 - 10:14pm1. Count the modules
$this->countModules()
<?php if($this->countModules('left')) { ?>
<div id="left"><jdoc:include type="modules" name="left" /></div>
<?php } ?>
2. Checking for the frontpage
