使用php锚点调用magento仪表板

时间:2014-02-28 02:26:18

标签: magento magento-1.8

如何使用锚点调用magento仪表板?我把它放在锚中时需要调用magento仪表板吗?

<a href="<?php //what do I add here?  ?>">

1 个答案:

答案 0 :(得分:1)

以下是在magento自定义网格中使用自定义扩展程序的代码。 你可以使用如下。

<a href="<?php echo  Mage::helper('adminhtml')->getUrl("adminhtml/dashboard/index");?>" target="_blank">
test
</a>

希望这对您有用。如果我能进一步帮助你,请告诉我。