[TYPO3-dev] Bidirectional MM relations

Ingmar Schlecht ingmar at typo3.org
Tue Feb 13 16:16:24 CET 2007


Hi Tomi,

such symmetric MM relations are not possible with select/group fields in
TYPO3 4.1.

However, you could use an "inline" field (IRRE) for managing such a
relation. See:
http://wiki.typo3.org/index.php/Inline_Relational_Record_Editing_Attributes#Bidirectional_symmetric_relations

cheers
Ingmar

Tomi Hrovatin wrote:
> one more question ...
> What about bidirectional MM on same table?
> example: tt_news and field related news?
> If I set tt_news_1 as related news to tt_news_2, i'd like to see that
> tt_news_2 is related to tt_news_1 when editing in BE.
> 
> There are 2 ways I see:
> - by setting some parameter in TCA that instructs loaddbgroup to make
> two queries (one for local and one for foreign relations) and then
> combines the arrays.
> - by setting some parameter in TCA that instructs TCAmain (is it?) to
> insert 2 records in MM table (one for local and one for foreign relation).
> 
> I looked in loaddbgroup source but could not find out if that is
> possible. Any hints?
> 
> thnx,




More information about the TYPO3-dev mailing list