Created
January 21, 2015 13:23
-
-
Save a-r-m-i-n/8ac5bd3e42b25c1b4267 to your computer and use it in GitHub Desktop.
DCE field configuration for FAL inline field with
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<config> | |
<type>inline</type> | |
<foreign_table>sys_file_reference</foreign_table> | |
<foreign_field>uid_foreign</foreign_field> | |
<foreign_sortby>sorting_foreign</foreign_sortby> | |
<foreign_table_field>tablenames</foreign_table_field> | |
<foreign_match_fields> | |
<fieldname>images</fieldname> <!-- Name of variable! --> | |
</foreign_match_fields> | |
<foreign_label>uid_local</foreign_label> | |
<foreign_selector>uid_local</foreign_selector> | |
<foreign_selector_fieldTcaOverride> | |
<config> | |
<appearance> | |
<elementBrowserType>file</elementBrowserType> | |
<elementBrowserAllowed>gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai</elementBrowserAllowed> | |
</appearance> | |
</config> | |
</foreign_selector_fieldTcaOverride> | |
<foreign_types type="array"> | |
<numIndex index="0" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
<numIndex index="1" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
<numIndex index="2" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
<numIndex index="3" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
<numIndex index="4" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
<numIndex index="5" type="array"> | |
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette</showitem> | |
</numIndex> | |
</foreign_types> | |
<minitems>0</minitems> | |
<maxitems>99</maxitems> | |
<appearance> | |
<useSortable>1</useSortable> | |
<headerThumbnail> | |
<field>uid_local</field> | |
<width>64</width> | |
<height>64</height> | |
</headerThumbnail> | |
<showPossibleLocalizationRecords>1</showPossibleLocalizationRecords> | |
<showRemovedLocalizationRecords>1</showRemovedLocalizationRecords> | |
<showSynchronizationLink>1</showSynchronizationLink> | |
<enabledControls> | |
<info>0</info> | |
<new>0</new> | |
<dragdrop>0</dragdrop> | |
<sort>1</sort> | |
<hide>1</hide> | |
<delete>1</delete> | |
<localize>1</localize> | |
</enabledControls> | |
<createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle> | |
</appearance> | |
<behaviour> | |
<localizationMode>select</localizationMode> | |
<localizeChildrenAtParentLocalization>1</localizeChildrenAtParentLocalization> | |
</behaviour> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Armin, works perfect. But is it possible to get only alternative Text in image metadata.