[TYPO3-dev] compose 2 fields for label in records list

stefano cecere scecere at krur.com
Wed Jan 4 19:49:16 CET 2006


Bernhard Kraft wrote:
> stefano cecere wrote:
>> i'm developing my first BIG extension
>>
>> i have my own "people list" in a table, and i'd like to list them (in
>> both list module and element selectors) showing the field:
>> "name"."surname"
>>
>> right now TCA label allows just ONE field to be shown.. is it possible
>> to show 2?
>>
>> i know i could save the name+surname string when saving the record, but
>> i don't like it very much.
> 
> Search "label_alt_force" in google (TYPO3 Core APIs document) and add it to your
> TCA.
> 
> 
> greets,
> Bernhard

thanks Bernhard! i did understimated that function!

it works for list, but unluckyly not when that record is show referred in other records (via group/db relation)
(the manual says this function is not complete in the system, anyway :)

so i'll stick with a "fullname" additional field

maybe i'll post the thing to the bugtracker

ciao!

-- 
stefano cecere
www.krur.com




More information about the TYPO3-dev mailing list