To get the current url with his parameters use:
Mage::helpet('core/url')->getCurrentUrl()
Fo the home, use:
Mage::helpet('core/url')->getHomeUrl()
About Magento, Linux, Jquery, PHP ... and other!
Mage::helpet('core/url')->getCurrentUrl()
Mage::helpet('core/url')->getHomeUrl()
No comments:
Post a Comment