[TYPO3-dev] TCEFORM + sys_file_reference + page media
Jan Kornblum
jan.kornblum at gmx.de
Mon Jan 20 09:48:46 CET 2014
Hi Caspar,
thanks a lot for your explanations.
> the shown fields of fal records are defined in TCA.
>
> The link field is not included by default. (1)
>
> But you could override the palettes for every configured fal field, as
> be done for tt_content image field. (2)
>
> In TCA for media field in pages, the 'link' palette is not defined. (3)
>
> If you like to add that field you have to override the pages TCA for
> each file type:
>
> $GLOBALS['TCA']['pages']['columns']['media']['config']['foreign_types'][ENTER_TYPE_HERE]['showitem']
> = CHANGED_SHOWITEM_STRING
What does "FILE TYPE" mean in this context? I had a look at the
tt_content image field TCA related to above and there are
"foreign_types" from 0 to 5.
And another question: Is it possible to overwrite the TCA by TSConfig
in this situation or can this just be achieved by php?
Kind regards, Jan
More information about the TYPO3-dev
mailing list