Answer the question
In order to leave comments, you need to log in
Is it possible to sort output in switch/case in fenom ModX?
Hello!
Is there any way to sort the output of case ?
Drag and drop doesn't work.
{foreach $blocks as $block}
{switch $block}
{case "Брошуры и каталоги"}
текст 2
{case "Патенты"}
текст 1
{/switch}
{/foreach}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question