flexform_sgyoutube_youtube.xml 9.07 KB
Newer Older
Johannes Kreiner's avatar
Johannes Kreiner committed
1
<T3DataStructure>
2
3
4
5
6
	<meta>
		<langDisable>1</langDisable>
		<langChildren>1</langChildren>
	</meta>
	<sheets>
Johannes Kreiner's avatar
Johannes Kreiner committed
7

8
9
10
11
12
13
14
15
16
17
18
		<sDEF>
			<ROOT>
				<TCEforms>
					<sheetTitle>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:settings
					</sheetTitle>
				</TCEforms>
				<type>array</type>
				<el>
					<settings.id>
						<TCEforms>
							<exclude>0</exclude>
19
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.id
20
							</label>
Johannes Kreiner's avatar
Johannes Kreiner committed
21
22
23
							<config>
								<type>input</type>
								<size>30</size>
24
								<eval>trim,required</eval>
Johannes Kreiner's avatar
Johannes Kreiner committed
25
							</config>
26
27
						</TCEforms>
					</settings.id>
28

29
30
31
					<settings.maxResults>
						<TCEforms>
							<exclude>0</exclude>
32
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.maxResults
33
							</label>
34
35
36
							<config>
								<type>input</type>
								<size>30</size>
37
								<default>10</default>
38
								<eval>trim,int</eval>
39
40
41
42
								<range>
									<lower>1</lower>
									<upper>50</upper>
								</range>
43
							</config>
44
45
						</TCEforms>
					</settings.maxResults>
46

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
					<settings.layout>
						<TCEforms>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.layout</label>
							<config>
								<type>select</type>
								<renderType>selectSingle</renderType>
								<items type="array">
									<numIndex index="0" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.layout.default</numIndex>
										<numIndex index="1">default</numIndex>
									</numIndex>
									<numIndex index="1" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.layout.horizontal</numIndex>
										<numIndex index="1">horizontal</numIndex>
									</numIndex>
									<numIndex index="2" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.layout.vertical</numIndex>
										<numIndex index="1">vertical</numIndex>
									</numIndex>
								</items>
							</config>
						</TCEforms>
					</settings.layout>

71
72
73
74
75
76
77
78
79
80
81
					<settings.showTitle>
						<TCEforms>
							<exclude>0</exclude>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.showTitle</label>
							<config>
								<type>check</type>
								<default>1</default>
							</config>
						</TCEforms>
					</settings.showTitle>

82
83
84
85
86
87
88
89
90
91
92
					<settings.showDescription>
						<TCEforms>
							<exclude>0</exclude>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.showDescription</label>
							<config>
								<type>check</type>
								<default>1</default>
							</config>
						</TCEforms>
					</settings.showDescription>

93
					<settings.disableLightbox>
94
95
						<TCEforms>
							<exclude>0</exclude>
96
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.disableLightbox</label>
97
98
99
100
101
							<config>
								<type>check</type>
								<default>0</default>
							</config>
						</TCEforms>
102
					</settings.disableLightbox>
103

104
105
106
107
108
109
110
111
112
113
114
					<settings.disableLightboxMobile>
						<TCEforms>
							<exclude>0</exclude>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.disableLightboxMobile</label>
							<config>
								<type>check</type>
								<default>0</default>
							</config>
						</TCEforms>
					</settings.disableLightboxMobile>

115
116
117
118
119
					<settings.aspectRatio>
						<TCEforms>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.aspectRatio</label>
							<config>
								<type>select</type>
120
								<renderType>selectSingle</renderType>
121
122
123
124
125
126
127
128
129
130
131
132
133
								<items type="array">
									<numIndex index="0" type="array">
										<numIndex index="0">16:9</numIndex>
										<numIndex index="1">16:9</numIndex>
									</numIndex>
									<numIndex index="1" type="array">
										<numIndex index="0">4:3</numIndex>
										<numIndex index="1">4:3</numIndex>
									</numIndex>
								</items>
							</config>
						</TCEforms>
					</settings.aspectRatio>
134

135
136
137
138
139
					<settings.thumbnailType>
						<TCEforms>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType</label>
							<config>
								<type>select</type>
140
								<renderType>selectSingle</renderType>
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
								<items type="array">
									<numIndex index="0" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.byAspectRatio</numIndex>
										<numIndex index="1">byAspectRatio</numIndex>
									</numIndex>
									<numIndex index="1" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.maxres</numIndex>
										<numIndex index="1">maxres</numIndex>
									</numIndex>
									<numIndex index="2" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.standard</numIndex>
										<numIndex index="1">standard</numIndex>
									</numIndex>
									<numIndex index="3" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.high</numIndex>
										<numIndex index="1">high</numIndex>
									</numIndex>
									<numIndex index="4" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.medium</numIndex>
										<numIndex index="1">medium</numIndex>
									</numIndex>
									<numIndex index="5" type="array">
										<numIndex index="0">LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailType.default</numIndex>
										<numIndex index="1">default</numIndex>
									</numIndex>
								</items>
							</config>
						</TCEforms>
					</settings.thumbnailType>
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233

					<settings.thumbnailImages>
						<TCEforms>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.thumbnailImages</label>
							<config>
								<type>inline</type>
								<foreign_table>sys_file_reference</foreign_table>
								<foreign_field>uid_foreign</foreign_field>
								<foreign_table_field>tablenames</foreign_table_field>
								<foreign_label>uid_local</foreign_label>
								<foreign_sortby>sorting_foreign</foreign_sortby>
								<foreign_selector>uid_local</foreign_selector>
								<foreign_selector_fieldTcaOverride type="array">
									<config>
										<appearance>
											<elementBrowserType>file</elementBrowserType>
											<elementBrowserAllowed>jpg,png,svg,jpeg,gif</elementBrowserAllowed>
										</appearance>
									</config>
								</foreign_selector_fieldTcaOverride>
								<foreign_match_fields type="array">
									<fieldname>tx_sgyoutube_thumbnail_image</fieldname>
								</foreign_match_fields>
								<filter type="array">
									<userFunc>TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter->filterInlineChildren</userFunc>
									<parameters>
										<allowedFileExtensions>jpg,png,svg,jpeg,gif</allowedFileExtensions>
										<disallowedFileExtensions></disallowedFileExtensions>
									</parameters>
								</filter>
								<appearance type="array">
									<useSortable>1</useSortable>
									<headerThumbnail>
										<field>uid_local</field>
										<height>45m</height>
									</headerThumbnail>
									<enabledControls>
										<info>1</info>
										<new>0</new>
										<dragdrop>1</dragdrop>
										<sort>1</sort>
										<hide>1</hide>
										<delete>1</delete>
									</enabledControls>
								</appearance>
								<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>
										<crop type="array">
											<config type="array">
												<cropVariants type="array">
													<medium type="array">
														<disabled>1</disabled>
													</medium>
													<small type="array">
														<disabled>1</disabled>
													</small>
234
235
236
													<extrasmall type="array">
														<disabled>1</disabled>
													</extrasmall>
237
238
239
240
241
242
243
244
245
246
247
248
249
												</cropVariants>
											</config>
										</crop>
									</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>
						</TCEforms>
					</settings.thumbnailImages>
250
251
252
253
254
255
256
257
258
259
260
261

					<settings.showApiResult>
						<TCEforms>
							<exclude>0</exclude>
							<label>LLL:EXT:sg_youtube/Resources/Private/Language/locallang.xlf:flexform.showApiResult
							</label>
							<config>
								<type>check</type>
								<default>0</default>
							</config>
						</TCEforms>
					</settings.showApiResult>
262
263
264
265
				</el>
			</ROOT>
		</sDEF>
	</sheets>
Johannes Kreiner's avatar
Johannes Kreiner committed
266
</T3DataStructure>