Share » Forums » Setup & design » Passing variables in url

Passing variables in url

Passing variables in url

Thursday 13 September 2007 12:26:58 am - 1 reply

Modified on Thursday 13 September 2007 12:29:50 am by Alexander Petrov

Author Message

Olivier Ouin

Thursday 13 September 2007 8:55:57 am

First, we need to know what datatypes your using. I think that in your case, attr1 is a ezselection one.

If it's the case, you have to know that $node.data_map.attr1.content will contain the index of the selection, and not the text.
So you should test equality between $view_parameters.param1 and $option.id, and not $option.name.

Another thing, whatever which datatype is used, there is a missing parenthesis in {if eq($view_parameters.param1, $option.name}selected{/if} : the eq operator is not closed.

I don't see what could be the problem in your usage of the second parameter, but maybe it's related to the problem above ... the HTML generated code is maybe a bit altered by it.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu