Quote from: Bruno17 at Jul 12, 2017, 02:33 PMdid you see this one?
https://docs.modx.com/extras/revo/migx/migx.tutorials/migx.varying-layout-boxes/migx.varying-layout-boxes.configurator-version
you would have one configuration for each content-type and select them at the main-configuration in the multiple-formtabs field.
This will create a listbox, which lets the customer switch between the different forms.
Make sure, you have all unused fields of the other forms as hidden fields. Otherwise allready existing values would get lost while switching between the different forms.
Thid way. you also don't need all this conditionals in your tpl-chunks, which will slow everything down, but you would have a call like that:
[[getImageList? &tpl=`@FIELD:MIGX_formname`&tvname=`MultiColumn`]]
which would switch between tpl-chunks depending on the value of the automatically created field 'MIGX_formname'
Bruno, thank you very much, I just move all the tabs into the
MIGX.Varying layout-boxes.Configurator-Version and everything is working perfect.
It was quite messy because there was many tabs with many fields, and takes time understand the system, but everything was sorted and it's quite easy.
Really really appreciate your help
- Just one last quick question:
Every window that you select with the dropdown menu has two tabs now, One general and the other one is specific for that window.
that means all the options are sharing the general tab that has fields like, margin, title etc...
The question is, in case I need make a change on the general tab I'll need go into every single MigX to make the same change, there is a way to put that General tab somewhere where any change will be in all the other MigX Windows?
Hope that make sence.
Thank you Bruno!