[TYPO3-english] Re: TCA type=group, internal_type=db, show records from current language only

Thomas Vogt t.vogt at zeros.ones.de
Wed Apr 9 14:47:55 CEST 2014


Hi,

even though you might have already found another solution. You could try to make use of the ###REC_FIELD_sys_language_uid###  to substitue the sys_language_uid in your query. This is what I'm using in TCA config  part of a specific field  

 'foreign_table_where' => ' AND sys_language_uid = ###REC_FIELD_sys_language_uid### ',

keep in mind that this might only work MM szenario where the foreign_table_where option is available.

Thomas



More information about the TYPO3-english mailing list