[TYPO3] Name instead of UID in extension

Jeppe Donslund jd at webmasters.dk
Tue Aug 7 15:52:19 CEST 2007


I changed that one to Title and then it alle seems fine.

Thanks.

Jeppe D.



John de Stigter skrev:
>  
>> Hi John.
>>
>> I have tried to figure out how to solve it with the TCA. I'll 
>> read some more.
>>
>> My TCA for det field is:
>>
>> "crossreferences" => Array (		
>> 	"exclude" => 1,		
>> 	"label" =>
>> "LLL:EXT:wm_pf_videos/locallang_db.xml:tx_wmpfvideos_videos.cr
>> ossreferences", 
>> 	
>> 	"config" => Array (
>> 		"type" => "select",	
>> 		"foreign_table" => "tx_wmpfvideos_videos",	
>> 		"foreign_table_where" => "ORDER BY 
>> tx_wmpfvideos_videos.uid",	
>> 		"size" => 5,	
>> 		"minitems" => 0,
>> 		"maxitems" => 10,	
>> 		"MM" => "tx_wmpfvideos_videos_crossreferences_mm",
>> 	)
>> )
>>
> 
> Hi, what is the value of "label" in the "ctrl" section of the table
> "tx_wmpfvideos_videos"? This should be defined in the file
> "ext_tables.php" in the directory of the extension.
> 
> Cheerios,
> John


More information about the TYPO3-english mailing list