Wednesday, February 17, 2010

to determine if the current page is the frontpage joomla

to determine if the current page is the frontpage

if ($menu->getActive() == $menu->getDefault()) {
echo 'This is the front page';
}
?>

1 comment:

  1. Lately, there were some security issues with Joomla 1.5.19 release that may be technically defined as SQL Injection and XSS Vulnerabilities, this Sunday a security update was made available by the collaborative efforts of Joomla Bug Squad and Joomla Security Strike Team, it was named as senu taka version 1.5.20. It was very important to address this security loophole before getting into the final stages of Joomla 1.6. release.
    Now we can look forward for the latest from Joomla i.e. version 1.6. currently in beta stage not recommended for application development but available for download for testing.
    Professional Joomla Templates

    ReplyDelete