[TYPO3-mvc] use relation type RELATION_BELONGS_TO_MANY for fields with MM relation and maxitems=1
Franz Koch
typo3.RemoveForMessage at elements-net.de
Fri May 28 02:51:46 CEST 2010
> hehe, I just saw that this is already available in the ColumnMap, but
> not used at all yet. So I'll go that way and provide a patch when I'm done.
there you go - a first draft of the patch (only applying the new
relation type, not any support for fields with TCA-type "group" - that's
a different story/patch [see forge]). Tell me what you think about it.
The only thing I'm not sure if it's correct are the changes in
"backend.php", because I didn't have a closer look what's done in
detail. It could be that some operations need to be treated different
(thinking about the deletion of a object with referenced images, where
the dam image, as well as it's references to other records should be
kept in the DB of course).
Patch is attached - hope it's not filtered out.
And now it's finally time for bed.
--
kind regards,
Franz Koch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make-use-of-RELATION_BELONGS_TO_MANY.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20100528/0515de44/attachment.txt>
More information about the TYPO3-project-typo3v4mvc
mailing list