Forums / Setup & design / case syntax

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

case syntax

Author Message

Marko Žmak

Saturday 17 July 2004 2:01:38 pm

Is it possible to do something like this in EZ:

{case match=1}
{case match=2}
...code...
{/case}

In other words, executing the same code (...code...) for two different matches.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Kåre Køhler Høvik

Monday 19 July 2004 1:45:45 am

http://ez.no/ez_publish/documentation/reference/template_functions/program_flow/switch

Kåre Høvik