Forums / Developer / creating a new variable / Comment43837
Marko Žmak
Sunday 21 August 2005 5:45:31 am
Hi bianchi. For this new variable thing, why don't you try {set-block}? It goes something like this:
{set-block var=your_variable} {attribute_view_gui attribute=$node.object.data_map.name} {/set-block}
After that you can use $your_variable in the {if} statement. I'm not sure of the correct syntax, check the docs for that.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth