Wednesday 30 March 2011 12:21:55 pm
Hi, I want to use an attribute content as a unordered parameter in a href. Firs I save the attribute content in a variable:
{set-block variable=$var}
{attribute_view_gui attribute=$node.data_map.name}
{/set-block} Second I put the variable in href:
<a href={concat( '/content/view/full/2/(var)/', $var )|ezurl()}> But the resulting url is this: http:// ... /content/view/full/2/(var)/ <!-- START: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> THE STRING <!-- STOP: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> It should be a string -> THE STRING. If I show the contents of the variable, it is correct. What is the problem? Thanks, David
|