Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <settings.background>
- <TCEforms>
- <label>LLL:EXT:myext/Resources/Private/Language/locallang_db.xml:tx_myext_generic.background</label>
- <config>
- <type>inline</type>
- <foreign_types type="array">
- <numIndex index="1">
- <showitem>title</showitem>
- </numIndex>
- </foreign_types>
- <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 type="array">
- <fieldname>background</fieldname>
- </foreign_match_fields>
- <foreign_label>uid_local</foreign_label>
- <foreign_selector>uid_local</foreign_selector>
- <minitems>1</minitems>
- <maxitems>1</maxitems>
- <foreign_selector_fieldTcaOverride type="array">
- <config>
- <appearance>
- <elementBrowserType>file</elementBrowserType>
- <elementBrowserAllowed>jpg,png</elementBrowserAllowed>
- </appearance>
- </config>
- </foreign_selector_fieldTcaOverride>
- <appearance type="array">
- <createNewRelationLinkTitle>Add new Image</createNewRelationLinkTitle>
- <useSortable>TRUE</useSortable>
- <showPossibleLocalizationRecords>TRUE</showPossibleLocalizationRecords>
- <showRemovedLocalizationRecords>TRUE</showRemovedLocalizationRecords>
- <showSynchronizationLink>TRUE</showSynchronizationLink>
- <enabledControls type="array">
- <info>FALSE</info>
- <new>TRUE</new>
- <dragdrop>TRUE</dragdrop>
- <sort>TRUE</sort>
- <hide>TRUE</hide>
- <delete>TRUE</delete>
- <localize>TRUE</localize>
- </enabledControls>
- <levelLinksPosition>both</levelLinksPosition>
- </appearance>
- <behaviour>
- <localizationMode>select</localizationMode>
- <localizeChildrenAtParentLocalization>TRUE</localizeChildrenAtParentLocalization>
- </behaviour>
- </config>
- </TCEforms>
- </settings.background>
Advertisement
Add Comment
Please, Sign In to add comment