This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » conditional with switch?

conditional with switch?

conditional with switch?

Monday 19 May 2003 5:16:13 pm - 1 reply

how can i make a conditional for a list. if a picture is available ez3 should put out another code than without a picture.
{default content_object=$node.object

{switch name=sw match=$content_version.data_map.bild}
{case match != ""}
code with image
{case match = ""}
code without image


Monday 19 May 2003 5:20:08 pm

Speaking of the top of my head here...

you could try:

{section show=is_set($content_version.data_map.bild}
show image
dont show image

or something to that effect with the show command.


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

36 542 Users on board!

Forums menu

Proudly Developed with from