Magento : Get Admin Url with key
When we see url in magento admin we can see it is formed with secret keys and cannot be accessed without that, below is the simple way to get any url for admin with keys.
Example:
echo Mage::helper("a dminhtml")->get Url("adminhtml/ sales_order_cre ate/settaxno/") ;
When we see url in magento admin we can see it is formed with secret keys and cannot be accessed without that, below is the simple way to get any url for admin with keys.
echo
Mage::helper(
"adminhtml"
)->getUrl(
"module_name/controller_name/action_name/"
,
array
(
"param1"
=>1,
"param2"
=>2));
Example:
echo Mage::helper("a
I think its more like
ReplyDeleteMage::helper("adminhtml")->getUrl("adminhtml/controllername/actionname")
The information written in the article is descriptive and well written.It is also simple to read and understand.Good Read.
ReplyDeleteMagento Developers
I do agree with all the ideas you have presented in your post. They’re really convincing and will certainly work. Still, the posts are very short for newbies. Could you please extend them a little from next time?..Keep this great work
ReplyDeletemagento development company in bangalore