[TYPO3-dev] selectbox in BE is displaying localized records together with default ones

Andreas Kiessling kiessling at pluspol.info
Sun Sep 5 14:58:10 CEST 2010


Hi Franz,

Am 04.09.10 14:46, schrieb Franz Koch:
> Hi again,
>
>> My TCA looks like this:
>> 'type' => 'select',
>> 'foreign_table' => 'tx_elementsstaff_domain_model_person',
>> 'MM' => 'tx_elementsstaff_person_mm',
>

AFAIK, that's just how it should work with this TCA. I usually add 
something like this to limit the selectable records to those with 
language all (-1) or default (0)

'foreign_table_where' => 'AND 
tx_elementsstaff_domain_model_person.sys_language_uid IN (-1,0)',

HTH,
Andreas




More information about the TYPO3-dev mailing list