I am using the HiveMind template and need to conditionally not display certain modules when in the frontpage.
Is there a way to get the current page name or id (or better: to get a variable that tells me that we are displaying the frontpage) so that I can add some php if blocks and accomplish this?
<?php $menu = &JSite::getMenu(); ?>
<?php if ($menu->getActive() == $menu->getDefault()) { ?>
//we are in the frontpage
<?php } else { ?>
//not on the frontpage
<?php } ?>
i am not 100% sure i understand what you're after, but can't you just use the menu assignment settings in the module parameters to have each module published or not published on the frontpage?