Created
December 3, 2012 10:39
-
-
Save ceckoslab/4194134 to your computer and use it in GitHub Desktop.
Detect AW_Blog detect cat and post view actions
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
$action = Mage::app()->getFrontController()->getAction(); | |
/* Detect blog category view page */ | |
if ($action->getFullActionName() == 'blog_cat_view') { | |
bla bla bla | |
} | |
/* Detect blog post view page */ | |
if ($action->getFullActionName() == 'blog_post_view') { | |
bla bla bla | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment