B-219 Sec-55 Noida, India
+918010221733

Current page variable in magento

Get title
<?=Mage::getSingleton(‘cms/page’)->getTitle()?>

Get Identifier
<? echo Mage::getBlockSingleton(‘cms/page’)->getPage()->getIdentifier()?>

Get Page ID
<? echo Mage::getBlockSingleton(‘cms/page’)->getPage()->getId()?>

(Visited 36 times, 1 visits today)

Leave a reply