Created
July 15, 2012 11:59
-
-
Save kayintveen/3116426 to your computer and use it in GitHub Desktop.
Magento if homepage condition
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
if ($this->getUrl('') == $this->getUrl('*/*/*', array('_current'=>true, '_use_rewrite'=>true)) ) { | |
$_is_home_page = true; | |
}else { | |
$_is_home_page = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment