Friday 28 November 2003 4:03:59 am
Hi! Is it possible (or meaningful) to pass parameters to the template called by node_view_gui? I mean, I have the following: {node_view_gui view=line content_node=$Utils:item} And inside the line template: <a href={"/"|ezurl} class="white">{attribute_view_gui attribute=$node.data_map.title}</a> What I would like is to change the value of the class attribute of the <a> tag depending on a parameter passed from the node_view_gui call. I'm aware I could have 2 line templates and simply change the 'view' parameter between the two, but would prefer the first solution. Thanks in advance.
|