Wednesday 14 May 2008 10:50:15 pm
Now you know that is a XML Block, you can try to show what inside the content attribute object. When you manipulate :
$node.object.data_map.right_column
It refers to an attribute (regarding to the input form, it'sonly the part concerning the right column). Then, you can show what is inside this object using the attribute(show) function.
{$node.object.data_map.right_column.content|attribute(show)}
It will show a table with 3 columns : attribute, type, value. If nothing appears, there's two reasons : maybe what you have passed as value is not a table or maybe it's null.
For each attribute, you can acces its content by just adding ".content". As above. If my memory is ok, you would have to add ".output" finally to get get only the XML. Then you must process it to extract only what you want (and escape the XML stuff).
{$node.object.data_map.right_column.content.output}
{$node.object.data_map.right_column.content.output|attribute(show)}
Good luck !
Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou
Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas
|