How to detect joomla 1.5 Frontpage?
Using joomla global variable you can easily detect joomla front page.You can use this to display some content in your front page(index.php)
<?php if (JRequest::getVar('view') == 'frontpage') : ?>
//your content here
<?php endif ; ?>
If you want to exclude something from front page thin use this code
<?php if (JRequest::getVar('view') !== 'frontpage') : ?>
//your content here
<?php endif ; ?>
Latest posts by maidul (Posts)
- WordPress recent post in better way – September 29, 2012
- Hide post of a category from the wordpress loop – September 24, 2012
- Ad After First Post on Home Page for Thesis Theme – September 19, 2012

