Forums / Developer / Current URL / Comment64776
Nicolas Pastorino
Tuesday 04 January 2011 7:17:52 am
$requested_uri_string will provide me the system URL.
But I want the Current compete URL from browser address bar.
Hi Namita,
You can generate the full URL using the 'ezurl' operator :
<a href={$requested_uri_string|ezurl( '','full')}>Current URI</a>
When requesting a content/view/<view-mode>/<node-id> type of URL, you should get the URL Alias (friendly URL, not system one) in the $requested_uri_string variable, then leading to the generation of the URL seen in the browser's address bar.
Let us know how things go,Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye