[TYPO3-mvc] mmm-relationship
Barbara Schwarz
barbara at web-essentials.asia
Wed Jun 9 06:53:38 CEST 2010
Yeah, that's exactly what I'm planing to do. Good to know that you're
using it already and that it works.
Thanks a lot!
Franz Koch wrote:
> Hey Barbara,
>
>> Yes, the solution with the "producer" field in the product class does
>> not fit my project's needs because a product can have many producers (as
>> strange as it sounds, it's true). And the set of possible roles should
>> be dynamic too.
>>
>> So, your second solution is actually what I want, but when you think
>> about the table of the "WhatEverNameFitsInHere" object, it would be
>> something like a mmm table (which do not exist).
>
> I'm actually using that solution already by simply using IRRE for that.
> Ported to your extension I would have added a IRRE field to your product
> table (maybe called "relations" or something) and map the
> "WhatEverNameFitsInHere" table to it (via parent_field etc). In the BE
> you then can add the company and it's role then.
>
More information about the TYPO3-project-typo3v4mvc
mailing list