[TYPO3-english] sr feuser register: fields translation ?
Viktor Livakivskyi
v-tyok at mail.ru
Fri Aug 3 20:21:39 CEST 2012
Hi, Gregory.
> So I followed wiki
> (http://wiki.typo3.org/Adding_fields_to_sr_feuser_register_registration_form)
> and extended feusers table with a field "competence" (type "database
> relation" on table "competences" which is localized !). So a select box is
> displayed on my register form, containing ALL data in table "competences"
> and NOT only data in the current languages (same problem in BE, when
> editing a FE user)... big problem!
>
> Do you have an idea how can I solve this problem? "Competence" data have
> to be editable in BE.
Take a look at your ext_tables.php and TCA reference [1]
'foreign_table_where' - you can put 'sys_language_uid in (0,-1)' there. Then
oanly default and "all" records will be displayed.
[1]:
http://typo3.org/documentation/document-library/core-documentation/doc_core_tca/4.7.1/view/1/3/#id584692
More information about the TYPO3-english
mailing list