[TYPO3-core] RFC: Bidirectioanl MM relations
Ingmar Schlecht
ingmar at typo3.org
Fri Jan 19 20:39:31 CET 2007
Reminder: Stucki, did you update the docs already according to the
quotation below?
cheers
Ingmar
Ingmar Schlecht schrieb:
> Ingmar Schlecht wrote:
>> This is a SVN patch request.
>>
>> Problem:
>> Currently you can edit mm-relations in the Backend from one side of the
>> relation only.
>
> Here are the documentation changes necessary for this (I already sent
> them to Stucki via private mail but for the sake of completeness repost
> them here):
>
> The following needs to be added to the TCA Config section of the TYPO3
> Core API document for the field types "select" und "group":
>
> ---
>
> MM_opposite_field
> If you want to make an mm relation editable from the foreign
> side of the relation as well, you need to set MM_opposite_field
> on the foreign side to the fieldname on the local side.
> E.g. if the field "companies.employees" is your local side
> and you want to make the same relation editable from the foreign
> side of the relation in a field called persons.employers, you
> would need to set the MM_opposite_field value of the TCA
> configuration of the persons.employers field to the string
> "employees".
>
> ---
>
> cheers
> Ingmar
--
Want to know about latest core development? Subscribe to the core list!
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
More information about the TYPO3-team-core
mailing list