[TYPO3-german] feusers Backend anpassen - Nachname statt Benutzername

Kerstin Finke kerstinfinke at hotmail.com
Mon Apr 19 13:53:59 CEST 2010


Danke!
Die Kombination mit label_alt und label_alt_force hat den gewünschten 
Effekt gebracht.

Also:
$GLOBALS['TCA']['fe_users']['ctrl']['label'] = 'last_name';
$GLOBALS['TCA']['fe_users']['ctrl']['label_alt'] = 'first_name';
$GLOBALS['TCA']['fe_users']['ctrl']['label_alt_force'] = '1';

Viele Grüße
Kerstin

JoH asenau schrieb:
>> Und sorry, wenn ich nochmal nachhake:
>> Dass ich zwei Werte als label angebe, geht wohl nicht oder?
>> also sowas in der Art:
>>
>> $GLOBALS['TCA']['fe_users']['ctrl']['label'] = 'last_name,first_name';
>>
>> Das funktioniert leider nicht.
> 
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/4/2/#id2517078
> 
> label_alt und label_alt_force sollten helfen.
> Im schlimmsten Fall müsstest Du mit label_userFunc arbeiten.
> 
> HTH
> 
> Joey
> 


More information about the TYPO3-german mailing list