[TYPO3-core] RFC: Bidirectioanl MM relations

Ingmar Schlecht ingmar at typo3.org
Fri Sep 29 12:05:35 CEST 2006


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



More information about the TYPO3-team-core mailing list