[TYPO3-dev] $TCA['fe_users']['columns'] question
Pieter
pieter.v at gmx.net
Mon Apr 24 18:26:59 CEST 2006
Franz Holzinger wrote:
>>
> in t3lib/class.t3lib_tcemain.php you have the
> Hook: processDatamap_postProcessFieldArray
>
> There you can modify the $fieldArray for the fe_users record in a way
> that you change the uid from the field country to the text string
> generated from static_info_country.
>
> So the following
> $phShadowId = $this->insertDB($table,$id,$fieldArray,TRUE,0,TRUE); //
> When inserted, $this->substNEWwithIDs[$id] will be changed to the uid of
> THIS version and so the interface will pick it up just nice!
> would insert the corrected fieldArray.
>
> Greets,
>
> Franz
Wow, great! I'm gonna look into that. I'm only wondering what happens
when the BE user opens the fe_user record. I'll probably need a
preprocessing hook to put the country uid back into the array.
Pieter
More information about the TYPO3-dev
mailing list