Detecting page type in Joomla

<?php 
if ( JRequest::getVar('view') == 'frontpage' ) {
?>
<!-- display your home page HTML here -->
<?php
} else {
?>
<!-- display your internal page HTML here -->
<?php } ?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*