Revision: 58839
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 6, 2012 15:56 by morktron
Initial Code
<?php $app = JFactory::getApplication(); $menu = $app->getMenu(); ?> <? if ($menu->getActive() == $menu->getDefault()) { ?> this is the front page <?php } else { ?> do something else <?php } ?>
Initial URL
Initial Description
Show html on homepage and different html on other pages
Initial Title
Conditionial statement to show html in Joomla 2.5
Initial Tags
php, joomla
Initial Language
PHP