Share » Forums » Developer » Using switch on Single Choice

Using switch on Single Choice

Using switch on Single Choice

Tuesday 24 August 2004 3:22:53 pm - 2 replies

Author Message

Alex Jones

Tuesday 24 August 2004 4:12:48 pm

Perhahs try changing:

{switch match=$node.object.data_map.sivilstatus}

to

{switch match=$node.object.data_map.sivilstatus.content}

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Eivind Marienborg

Wednesday 25 August 2004 2:32:12 am

I solved it with a little workaround.. I made an override template for the ezselection.tpl (which handles the printout of the single choice), and did the switch on the plain text of the output there.

It's not the best sollution, but it works for now..

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

36 542 Users on board!

Forums menu