[TYPO3-mvc] mmm-relationship

Franz Koch typo3.RemoveForMessage at elements-net.de
Tue Jun 8 13:46:41 CEST 2010


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.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list