Wednesday, February 9, 2011

Detecting Frontpage in Joomla

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

No comments:

Post a Comment