Return to Snippet

Revision: 54109
at December 10, 2011 05:29 by dburgess


Initial Code
<?php
//This will detect the Home Page of Joomla and perfom whatever code you tell it to
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
	
	//Your Code goes here
	
}
?>

Initial URL


Initial Description
This will detect the Home Page of Joomla and perfom whatever code you tell it to

Initial Title
Joomla - Load only on home page

Initial Tags
page, joomla

Initial Language
PHP