Sunday 27 July 2008 8:39:44 pm
Hi. I have a template file where I'm trying to read a parameter sent by the URL, but I can't. For example, if I open:
http://mydomain.com/eng/content/view/full/172/var1/value1/var2/value2
It's using "content" module and "view" view.
Ordered parameter is only one: "full", and it's value is 172. Unordered parameters are "var1" and "var2". I've been unsuccessfully trying to read the unordered parameters from a template file doing the following code, but I couldn't:
{def $mp = module_params()}
{$mp.parameters.var1}
Why my two unordered parameters are not being listed inside $mp.parameters?
Thanks Michael Scofield
|