How to display content depending on the value of this field here :
{"caption":"Tab Title", "fields": [ {"field":"sectionType","caption":"Секция","inputTVtype":"listbox", "inputOptionValues": "Изображение во весь экран==one-image ||Изображени Слева==image-info ||Изображени Справа==info-image"}
Here is the chunk:
[[*sectionType:is=`one-image`:then=`<div class="one-image">Work</div>`:else=`<h4>NOT WORK</h4>`]] and the conclusion itself:
[[getImageList? &tvname = `sectionType` &tpl = `@CODE: [[$Section]]` ]] I tried to add chunks directly to the migx field as written here - it does not work