Files
VITEC-website/packages/vitec/Configuration/FlexForms/Downloadcardcollection.xml
2026-05-18 14:46:25 +02:00

172 lines
8.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>General Settings</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.image>
<label>Image</label>
<config>
<type>inline</type>
<maxitems>1</maxitems>
<foreign_table>sys_file_reference</foreign_table>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_label>uid_local</foreign_label>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_field>uid_foreign</foreign_field>
<foreign_selector>uid_local</foreign_selector>
<foreign_selector_fieldTcaOverride>
<config>
<appearance>
<elementBrowserType>file</elementBrowserType>
<elementBrowserAllowed>gif,jpg,jpeg,png,svg</elementBrowserAllowed>
</appearance>
</config>
</foreign_selector_fieldTcaOverride>
<foreign_types type="array">
<numIndex index="0">
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
</numIndex>
<numIndex index="2">
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
</numIndex>
</foreign_types>
<foreign_match_fields>
<fieldname>image</fieldname> <!-- CAUTION!! Replace "fal" with the variable name of this field! -->
</foreign_match_fields>
<appearance type="array">
<newRecordLinkAddTitle>1</newRecordLinkAddTitle>
<headerThumbnail>
<field>uid_local</field>
<height>64</height>
<width>64</width>
</headerThumbnail>
<enabledControls>
<info>1</info>
<new>0</new>
<dragdrop>0</dragdrop>
<sort>1</sort>
<hide>0</hide>
<delete>1</delete>
<localize>1</localize>
</enabledControls>
<createNewRelationLinkTitle>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle>
</appearance>
<behaviour>
<localizationMode>select</localizationMode>
<localizeChildrenAtParentLocalization>1</localizeChildrenAtParentLocalization>
</behaviour>
<overrideChildTca>
<columns type="array">
<uid_local type="array">
<config type="array">
<appearance type="array">
<elementBrowserType>file</elementBrowserType>
<elementBrowserAllowed>jpg,png,svg,jpeg,gif</elementBrowserAllowed>
</appearance>
</config>
</uid_local>
</columns>
<types type="array">
<numIndex index="2">
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
</numIndex>
</types>
</overrideChildTca>
</config>
</settings.image>
<settings.download>
<label>Select Download</label>
<config>
<type>select</type>
<renderType>selectMultipleSideBySide</renderType>
<items>
<numIndex index="0">
<label>None</label>
<value>0</value>
</numIndex>
</items>
<foreign_table>tx_vitec_domain_model_download</foreign_table>
<foreign_table_where>AND (tx_vitec_domain_model_download.hidden = 0 AND tx_vitec_domain_model_download.deleted = 0) ORDER BY tx_vitec_domain_model_download.title</foreign_table_where>
<size>4</size>
<minitems>0</minitems>
<maxitems>99</maxitems>
</config>
</settings.download>
<settings.layout>
<label>Layout</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0">
<label>
Default Product List
</label>
<value>0</value>
</numIndex>
<numIndex index="1">
<label>
Variation 1 Product List
</label>
<value>1</value>
</numIndex>
<numIndex index="2">
<label>
Variation 2 Product List
</label>
<value>2</value>
</numIndex>
<numIndex index="3">
<label>
Variation 3 Product List
</label>
<value>3</value>
</numIndex>
</items>
</config>
</settings.layout>
<settings.magstyle>
<label>Magazine Style layout</label>
<config>
<type>check</type>
<default>0</default>
</config>
</settings.magstyle>
<settings.adddetaillink>
<label>Add Button to Detail View</label>
<config>
<type>check</type>
<default>0</default>
</config>
</settings.adddetaillink>
<settings.magheader>
<label>Header Text for Magazine Layout</label>
<config>
<type>input</type>
<size>30</size>
</config>
</settings.magheader>
<settings.magtext>
<label>A short Text for Magazine Layout</label>
<config>
<type>input</type>
<size>30</size>
</config>
</settings.magtext>
<settings.maglink>
<label>Link for Magazine Layout</label>
<config>
<type>input</type>
<size>30</size>
</config>
</settings.maglink>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>