madeyourday / contao-rocksolid-custom-elements

RockSolid Custom Elements Contao Extension
http://rocksolidthemes.com/de/contao/plugins/custom-content-elements
MIT License
48 stars 12 forks source link

Multi edit #45

Closed jankout closed 7 years ago

jankout commented 9 years ago

I would wonder when it would be possible to use the multi editing for the custom elements. Or is it possible by now?

Best wishes, Jan

ausi commented 9 years ago

The multi edit mode works currently only for standardFields, see #10

ausi commented 7 years ago

This feature seems impossible to implement because of how the custom elements work right now. Two elements could have a field with the same name but completely different settings which would result in a conflict.

If a specific field should work for multi edit, you can create the field via the dcaconfig.php and use 'inputType' => 'standardField' in the custom elements configuration. But this only works for root level fields, not inside of lists.

ausi commented 7 years ago

Implemented in version 2.1.0.

It was possible to implement for root level fields. Conflicts are resolved by prefixing the field names with the custom element name. List fields still don’t work in multi edit mode.

/cc @Toflar