5412 Posts in 1649 Topics by 1188 members
|Go to End|
20 January 2011 at 7:44pm
I have a many-to-many relationship that creates a corresponding join table in our db.
It would be nice to be able to add records to the join table through the cms using the model admin. I don't think Model Admin natively supports this because when setting managed_models you cant simply input a db table name that doesn't have a corresponding DataObject. It shouldnt be too difficult to extend the model admin to solve this problem, but there's a few different ways it could be done. has anyone else done it in a particularly elegant fashion that they would like to share?
20 January 2011 at 10:42pm
used this one often (had issues with latest ie)...
haven't tried this one...
21 January 2011 at 11:02am
I have two more:
ItemSetField, nice picker implementation for hasone, hasmany and manymany:
and of course the native implementation for managing ManyMany relations: ManyManyComplexTableField
21 January 2011 at 11:26am Last edited: 21 January 2011 11:29am
Cheers guys! We have quite a few instances of both the models in involved in the many-to-many so will check out the suggested plugins to help manage them.
|Go to Top|