Forums / Setup & design / [solved] Retrieving current URL with parameters

[solved] Retrieving current URL with parameters

Author Message

Nabil Alimi

Tuesday 15 November 2005 6:56:49 am

Hi,

Is there a way to retrieve the current URL with parameters passed with it ? I mean I am on http://ez.no/mypage?foo=2&bar=5 and i'd like to retrieve <b>mypage?foo=2&bar=5</b>.

I already know about $REQUESTED_URI or something like that and i know that I can retrieve parameters with the ezhttp function but in my case, the number and name of param I need is not always the same...

Any ideas ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Nabil Alimi

Wednesday 16 November 2005 3:15:12 am

O.K.

Solved using an extension.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Jordan Hirsch

Friday 03 November 2006 9:13:20 am

Which extension?

Me: http://jordan.teamhirsch.com
My blog: http://wiredformusic.blogspot.com
My other company: http://thinkimprov.com
eZ Certification: http://auth.ez.no/certification/verify/402488
eZ Award: http://ez.no/company/news/ez_awards_2007_prize_winners

Nabil Alimi

Monday 06 November 2006 3:12:01 am

One I build that just return var $_SERVER.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

/dev/null

Sunday 10 December 2006 8:46:44 am

FYI,

The wrap_operator (template operator extension)
http://ezpedia.org/wiki/en/ez/wrap_operator

Can be used to achieve this objective.

/dev/null

eZpedia community documentation project: http://ezpedia.org