Joomla1.5 conditional modules


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php if($this->countModules('teasercontainer_top_left') OR $this->countModules('teasercontainer_top_right') OR $this->countModules('teasercontainer_fullsize' )) : ?>
  2. <div id="teasercontainer_top">
  3. <?php else : ?>
  4. <div style="display: none;">
  5. <?php endif; ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.