Joomla Condition for different pages and module (link)
http://forum.joomla.org/viewtopic.php?t=304129
There are Use Full Condition Code
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
echo ‘This is the front page’; (in which used of the HTML div )
}
?>
Example
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
?>
<div id=”banner”>
<jdoc:include type=”modules” name=”modslider” style=”none” />
<!–<img src=”<?php //echo $this->baseurl.’/templates/’.$this->template.’/images/banner-image.png’ ?>” alt=” “/>–>
</div>
<?php
}
?>
Step 2 Condition
<?php
$app = JFactory::getApplication();
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) {
echo ‘This is the front page’; ( HTML div)
}
?>
link for condition
http://docs.joomla.org/How_to_determine_if_the_user_is_viewing_the_front_page