[TYPO3] Name instead of UID in extension
John de Stigter
John.de.Stigter at bedrijvenweb.nl
Tue Aug 7 15:41:50 CEST 2007
> 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