diff --git a/app/code/community/Aoe/TemplateHints/Helper/BlockInfo.php b/app/code/community/Aoe/TemplateHints/Helper/BlockInfo.php old mode 100755 new mode 100644 index f30361e..a33b047 --- a/app/code/community/Aoe/TemplateHints/Helper/BlockInfo.php +++ b/app/code/community/Aoe/TemplateHints/Helper/BlockInfo.php @@ -29,6 +29,11 @@ public function getBlockInfo(Mage_Core_Block_Abstract $block, $fullInfo=true) { 'name' => $block->getNameInLayout(), 'alias' => $block->getBlockAlias(), ); + if( $info['name'] == 'root' ) { + $info['handles'] = strtolower($block->getLayout()->getUpdate() + ->getHandles() + ); + } if (!$fullInfo) { return $info;