docs
docs copied to clipboard
Describe how to maintain Many-To-Many or One-To-Many relations with the DCA picker
I am using the DCA picker on Doctrine entities and this is how I got it working (real Doctrine associations instead of a serialized string in the database).
I think the example will not be clear to the majority, as you are using entities for content elements and articles (if I understand this correctly)? In order to be of use for the rest it should use Contao's models instead, otherwise it is too specific to your personal Contao instance.
In reality, I am using entities like Product and ProductCategory but adapted it to Article/ContentElement to match the docs entry :)