Created
October 3, 2013 19:42
-
-
Save anunay/6815880 to your computer and use it in GitHub Desktop.
Magento: Check Homepage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if( | |
Mage::getSingleton('cms/page')->getIdentifier() == 'home' && | |
Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' | |
) : ?> | |
<!-- CONTENT GOES HERE --> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment