Tuesday 19 April 2005 11:38:34 am
Hi The reason is that $node.object.data_map.aktivitetstype is still an object, where you need the value. For simple text/numerical/date datatypes, you can access the real value through the .content member. For the more complex datatypes, you need more. The selection datataype can be one or more values so the following code should work if I remember correctly:
{section show=eq( $node.object.data_map.aktivitetstype.content.0, 'Utdanning' )}
<tr bgcolor="#CCCC99">
{/section}
The specifier content.0 means the first element of the array which is returned in the case of the selection datatype hth -paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|