To figure out whether you are on the home page or not, the following code will help:
|
1 2 3 4 |
$identifier = Mage::getSingleton('cms/page')->getIdentifier(); if($identifier == 'home') { //... } |
To figure out whether you are on the home page or not, the following code will help:
|
1 2 3 4 |
$identifier = Mage::getSingleton('cms/page')->getIdentifier(); if($identifier == 'home') { //... } |