Friday, October 15, 2010

[URL] Current and home Url

To get the current url with his parameters use: 
Mage::helpet('core/url')->getCurrentUrl()

Fo the home, use: 
Mage::helpet('core/url')->getHomeUrl()


No comments:

Post a Comment

Powered by Blogger.