I want to get the current url of an admin panel page. I tried the folowing.
$currentUrl = Mage::helper('adminhtml')->getUrl();
But it's not returning the current url.
adminmagento-1.7url
I want to get the current url of an admin panel page. I tried the folowing.
$currentUrl = Mage::helper('adminhtml')->getUrl();
But it's not returning the current url.
Best Answer
Try this :