How to determine if the user is viewing the Joomla front page or not?
If you are using Joomla older version like 1.0 then you’ll only need to verify the current component with the following command: if ($option == ‘com_frontpage’ || $option == ”) { echo ‘This is the front page’; } Bellow porsion for Joomla! 1.5 could be easily confirmed by the following command: if ( JRequest::getVar(‘view’) === … [Read more…]