/ Published in: PHP
                    
                                        
Controls what actions the template's index.php file takes depending on the current state of a module or a set of modules
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php if($this->countModules('condition')) { ?>
do something
<?php } else { ?>
do something else
<?php } ?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                