Forums / Developer / $_GET variables delivered to content module templates?

$_GET variables delivered to content module templates?

Author Message

Eirik Alfstad Johansen

Tuesday 10 November 2009 5:11:22 am

Hi,

Just wondering if the $_GET variables are accessible in the general templates of the content module and, if they are, where they are located.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

STEVO +

Tuesday 10 November 2009 7:50:38 am

hi Eirik, is this what you're after:

http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/data_and_information_extraction/ezhttp

Gaetano Giunta

Tuesday 10 November 2009 8:27:55 am

Just a note: remember that using $_GET in your content templates is generally a bad idea, as they will not be taken into account into the view cache...

Principal Consultant International Business
Member of the Community Project Board

Eirik Alfstad Johansen

Wednesday 11 November 2009 12:28:04 am

> hi Eirik, is this what you're after:

Yep - thanks!

> remember that using $_GET in your content templates is generally a bad idea

> as they will not be taken into account into the view cache...

Thanks for the tip. It's not an issue in this case, though.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/