We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Current Page Link | Forum

Purusothaman Ramanujam
How to get the link of the current page through plugin?

For example, If I am in the blog page, I should get the page link as www.site.com/blogs/

If I am reading a particular blog, I should get the link as http://site.com/blogs/1
Purusothaman Ramanujam
Got it myself.

echo UTIL_Url::selfUrl();
Michael I.
Michael I. Dec 21 '12
Topic was moved from Plugins.