How to Build Magento URL for Admin Pages
If you’re developing a custom module with some admin pages, most likely you’ll face a problem of creatig a URL for some admin area.
In order to accomplish that adminhtml helper should be used. Here’s the example:
<?php echo Mage::helper(‘adminhtml’)->getUrl(‘adminmodule/controller/action’); ?>
In case you need to build a url for your controller but different action you can use wildcart instead of module and controller names, like this:
<?php echo Mage::helper(‘adminhtml’)->getUrl(‘*/*/action’); ?>
Home
