Running version 2.5.2.
I see in the User Guide there is a standard global variable {current_url} but can’t get it to work. Trawling through the forum, I suspect this variable is a recent addition?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 16, 2013 12:24pm
Subscribe [1]#1 / Jan 16, 2013 12:24pm
Running version 2.5.2.
I see in the User Guide there is a standard global variable {current_url} but can’t get it to work. Trawling through the forum, I suspect this variable is a recent addition?
#2 / Jan 16, 2013 12:39pm
Hi Timj,
The {current_url} global variable will not work in EE2.5.2. It was being added in EE2.5.4.
See the change log here http://ellislab.com/expressionengine/user-guide/about/changelog.html#version-2-5-4
Best Regards,