Magento How to get current layout/page handles
Wanted to add some CSS or JS to a specific page but don’t know what handle it has? Add the following after <body> in your main template (Eg: 1column.phtml): <?php Zend_Debug::dump(Mage::app()->getLayout()->getUpdate()->getHandles()); ?> Or better, use this extension.
Read More