Forums / General / $_SERVER['REQUEST_URI'] in ez template
edwige fontenay
Monday 12 April 2010 8:58:36 am
Hi everybody,
I try to find a template variable equivalent of $_SERVER['REQUEST_URI'].
I have already look at {$uri_string} but this variable is only available in layout.tpl and not in the other tpl.
Moreover, {$uri_string} not contain parameters arguments.
I've just read a little post on autoload extension to add more functionality to template.
Maybe, I can use this way to write a $_SERVER['REQUEST_URI'] equivalent.
Someone has a better idea ?
Thanks for your help.
Edwige.
Nicolas Pastorino
Tuesday 13 April 2010 3:19:20 am
Hello Edwige,
Could you provide us with some context information : what would you like to achieve ?There may be other ways to achieve this which have not popped-up in your mind (yet ;) ).
Let us know,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