[TYPO3-dev] IRRE - setting language for new child records
Boros Attila
attila at thebat.net
Wed Apr 28 17:27:16 CEST 2010
Hi,
I'm using this code for localization of child records:
'foreign_table_where' => 'and tx_chrsites_services.sys_language_uid = ###REC_FIELD_sys_language_uid###'
which I saw is pretty standard in every example. Trouble is, when I
create a new record the REC_FIELD_sys_language_uid has no value yet,
and it will bring the records with sys_language_uid = 0. This solution
is effective only after the record is saved. It would be better if I
could use the value of the _langSelector on the top of the page. Is it
possible to use that value in tca.php?
Thanks,
Attila
More information about the TYPO3-dev
mailing list