Share » Forums » Developer » How to output a single select menu value

How to output a single select menu value

How to output a single select menu value

Monday 16 February 2009 9:03:35 am - 2 replies

Author Message

justin kazadi

Monday 16 February 2009 11:32:35 pm

Hi tony,

if i well understand what you have says. you want to have the selected choise from the selection datatype.

try this code:

{$node.data_map.name_of__your_attribute.content.0}

use $node if you are in an override template.

i think this could help you.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Pierre SCALFATI

Thursday 19 February 2009 5:52:47 am

I've been also using this, and it works also :

$node.data_map.name_of_your_attribute.data_text

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu