Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,359 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Zeilen mit Spalten', ''),
5
+    'types' => array('content'),
6
+    'contentCategory' => 'texts',
7
+    'moduleCategory' => 'miscellaneous',
8
+    'standardFields' => array('headline', 'cssID'),
9
+    'wrapper' => array(
10
+        'type' => 'none',
11
+    ),
12
+    'fields' => array(
13
+        'topline' => array(
14
+            'label' => array('Topline', 'Text oberhalb der Überschrift'),
15
+            'inputType' => 'text',
16
+        ), 'subline' => array(
17
+            'label' => array('Subline', 'Text unterhalb der Überschrift'),
18
+            'inputType' => 'text',
19
+        ),
20
+        'animation_type' => array(
21
+            'label' => array(
22
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
23
+            ),
24
+            'inputType' => 'select',
25
+            'options' => array(
26
+                /* Fading entrances  */
27
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
28
+                'no-animation' => 'Keine Animation',
29
+                'animate__fadeIn' => 'fadeIn',
30
+                'animate__fadeInDown' => 'fadeInDown',
31
+                'animate__fadeInDownBig' => 'fadeInDownBig',
32
+                'animate__fadeInLeft' => 'fadeInLeft',
33
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
34
+                'animate__fadeInRight' => 'fadeInRight',
35
+                'animate__fadeInRightBig' => 'fadeInRightBig',
36
+                'animate__fadeInUpBig' => 'fadeInUpBig',
37
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
38
+                'animate__fadeInTopRight' => 'fadeInTopRight',
39
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
40
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
41
+                /* Attention seekers  */
42
+                'animate__bounce' => 'bounce',
43
+                'animate__flash' => 'flash',
44
+                'animate__pulse' => 'pulse',
45
+                'animate__rubberBand' => 'rubberBand',
46
+                'animate__shakeX' => 'shakeX',
47
+                'animate__shakeY' => 'shakeY',
48
+                'animate__headShake' => 'headShake',
49
+                'animate__swing' => 'swing',
50
+                'animate__tada' => 'tada',
51
+                'animate__wobble' => 'wobble',
52
+                'animate__jello' => 'jello',
53
+                'animate__heartBeat' => 'heartBeat',
54
+                /* Back entrances */
55
+                'animate__backInDown' => 'backInDown',
56
+                'animate__backInLeft' => 'backInLeft',
57
+                'animate__backInRight' => 'backInRight',
58
+                'animate__backInUp' => 'backInUp',
59
+                /* Back exits */
60
+                'animate__backOutDown' => 'backOutDown',
61
+                'animate__backOutLeft' => 'backOutLeft',
62
+                'animate__backOutRight' => 'backOutRight',
63
+                'animate__backOutUp' => 'backOutUp',
64
+                /* Bouncing entrances  */
65
+                'animate__bounceIn' => 'bounceIn',
66
+                'animate__bounceInDown' => 'bounceInDown',
67
+                'animate__bounceInLeft' => 'bounceInLeft',
68
+                'animate__bounceInRight' => 'bounceInRight',
69
+                'animate__bounceInUp' => 'bounceInUp',
70
+                /* Bouncing exits  */
71
+                'animate__bounceOut' => 'bounceOut',
72
+                'animate__bounceOutDown' => 'bounceOutDown',
73
+                'animate__bounceOutLeft' => 'bounceOutLeft',
74
+                'animate__bounceOutRight' => 'bounceOutRight',
75
+                'animate__bounceOutUp' => 'bounceOutUp',
76
+                /* Fading exits */
77
+                'animate__fadeOut' => 'fadeOut',
78
+                'animate__fadeOutDown' => 'fadeOutDown',
79
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
80
+                'animate__fadeOutLeft' => 'fadeOutLeft',
81
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
82
+                'animate__fadeOutRight' => 'fadeOutRight',
83
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
84
+                'animate__fadeOutUp' => 'fadeOutUp',
85
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
86
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
87
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
88
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
89
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
90
+                /* Flippers */
91
+                'animate__flip' => 'flip',
92
+                'animate__flipInX' => 'flipInX',
93
+                'animate__flipInY' => 'flipInY',
94
+                'animate__flipOutX' => 'flipOutX',
95
+                'animate__flipOutY' => 'flipOutY',
96
+                /* Lightspeed */
97
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
98
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
99
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
100
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
101
+                /* Rotating entrances */
102
+                'animate__rotateIn' => 'rotateIn',
103
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
104
+                'animate__rotateInDownRight' => 'rotateInDownRight',
105
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
106
+                'animate__rotateInUpRight' => 'rotateInUpRight',
107
+                /* Rotating exits */
108
+                'animate__rotateOut' => 'rotateOut',
109
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
110
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
111
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
112
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
113
+                /* Specials */
114
+                'animate__hinge' => 'hinge',
115
+                'animate__jackInTheBox' => 'jackInTheBox',
116
+                'animate__rollIn' => 'rollIn',
117
+                'animate__rollOut' => 'rollOut',
118
+                /* Zooming entrances */
119
+                'animate__zoomIn' => 'zoomIn',
120
+                'animate__zoomInDown' => 'zoomInDown',
121
+                'animate__zoomInLeft' => 'zoomInLeft',
122
+                'animate__zoomInRight' => 'zoomInRight',
123
+                'animate__zoomInUp' => 'zoomInUp',
124
+                /* Zooming exits */
125
+                'animate__zoomOut' => 'zoomOut',
126
+                'animate__zoomOutDown' => 'zoomOutDown',
127
+                'animate__zoomOutLeft' => 'zoomOutLeft',
128
+                'animate__zoomOutRight' => 'zoomOutRight',
129
+                'animate__zoomOutUp' => 'zoomOutUp',
130
+                /* Sliding entrances */
131
+                'animate__slideInDown' => 'slideInDown',
132
+                'animate__slideInLeft' => 'slideInLeft',
133
+                'animate__slideInRight' => 'slideInRight',
134
+                'animate__slideInUp' => 'slideInUp',
135
+                /* Sliding exits */
136
+                'animate__slideOutDown' => 'slideOutDown',
137
+                'animate__slideOutLeft' => 'slideOutLeft',
138
+                'animate__slideOutRight' => 'slideOutRight',
139
+                'animate__slideOutUp' => 'slideOutUp',
140
+            ),
141
+            'eval' => array('chosen' => 'true')
142
+        ),
143
+        'rows' => array(
144
+            'label' => array('Boxen', ''),
145
+            'elementLabel' => '%s. Box',
146
+            'inputType' => 'list',
147
+            'minItems' => 1,
148
+            'maxItems' => 999,
149
+            'fields' => array(
150
+                'headline_image' => array(
151
+                    'label' => array('Bild links neben Headline', ''),
152
+                    'inputType' => 'fileTree',
153
+                    'eval' => array(
154
+                        'multiple' => false,
155
+                        'fieldType' => 'radio',
156
+                        'filesOnly' => true,
157
+                        'extensions' => 'jpg,jpeg,png,svg',
158
+                    ),
159
+                ),
160
+                'headline_type' => array(
161
+                    'label' => array(
162
+                        'de' => array('Typ der Überschrift', 'für linke Spalte'),
163
+                    ),
164
+                    'inputType' => 'select',
165
+                    'options' => array(
166
+                        'h1' => 'H1 (Haupt-Headline für SEO, darf nur 1x vorkommen)',
167
+                        'h2' => 'H2 (Sollte H1 thematisch untergeordnet sein)',
168
+                        'h3' => 'H3 (Sollte H2 thematisch untergeordnet sein)',
169
+                        'h4' => 'H4',
170
+                        'h5' => 'H5',
171
+                    ),
172
+                ),
173
+                'headline' => array(
174
+                    'label' => array('Überschrift', 'für linke Spalte'),
175
+                    'inputType' => 'text',
176
+                ),
177
+
178
+                'onlystyle' => array(
179
+                    'label' => array('Text nur als Überschrift darstellen (hat dementsprechend keinen Einfluss auf SEO)', 'macht Sinn wenn man z. B. eine H3 unterhalb einer H1 anzeigen möchte, ohne dass eine H2 existiert'),
180
+                    'inputType' => 'checkbox',
181
+                ),
182
+                'headline_color' => array(
183
+                    'label' => array(
184
+                        'de' => array('Farbe der Headline und Border', ''),
185
+                    ),
186
+                    'inputType' => 'select',
187
+                    'options' => array(
188
+                        'standard' => 'Standard',
189
+                        'blue' => 'Blau',
190
+                        'lila' => 'Lila',
191
+                        'pink' => 'Pink',
192
+                        'yellow' => 'Gelb',
193
+                        'green' => 'Grün',
194
+                        'red' => 'Rot',
195
+                        'mixed' => 'Blau/Lila',
196
+                    ),
197
+                ),
198
+                'colored_row' => array(
199
+                    'label' => array('Zeile blau hinterlegen', ''),
200
+                    'inputType' => 'checkbox',
201
+                ),
202
+                'cols' => array(
203
+                    'label' => array('Spalten', ''),
204
+                    'elementLabel' => '%s. Spalte',
205
+                    'inputType' => 'list',
206
+                    'minItems' => 1,
207
+                    'maxItems' => 999,
208
+                    'fields' => array(
209
+                        'animation_type' => array(
210
+                            'label' => array(
211
+                                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
212
+                            ),
213
+                            'inputType' => 'select',
214
+                            'options' => array(
215
+                                'no-animation' => 'Keine Animation',
216
+                                /* Fading entrances  */
217
+                                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
218
+                                'animate__fadeIn' => 'fadeIn',
219
+                                'animate__fadeInDown' => 'fadeInDown',
220
+                                'animate__fadeInDownBig' => 'fadeInDownBig',
221
+                                'animate__fadeInLeft' => 'fadeInLeft',
222
+                                'animate__fadeInLeftBig' => 'fadeInLeftBig',
223
+                                'animate__fadeInRight' => 'fadeInRight',
224
+                                'animate__fadeInRightBig' => 'fadeInRightBig',
225
+                                'animate__fadeInUpBig' => 'fadeInUpBig',
226
+                                'animate__fadeInTopLeft' => 'fadeInTopLeft',
227
+                                'animate__fadeInTopRight' => 'fadeInTopRight',
228
+                                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
229
+                                'animate__fadeInBottomRight' => 'fadeInBottomRight',
230
+                                /* Attention seekers  */
231
+                                'animate__bounce' => 'bounce',
232
+                                'animate__flash' => 'flash',
233
+                                'animate__pulse' => 'pulse',
234
+                                'animate__rubberBand' => 'rubberBand',
235
+                                'animate__shakeX' => 'shakeX',
236
+                                'animate__shakeY' => 'shakeY',
237
+                                'animate__headShake' => 'headShake',
238
+                                'animate__swing' => 'swing',
239
+                                'animate__tada' => 'tada',
240
+                                'animate__wobble' => 'wobble',
241
+                                'animate__jello' => 'jello',
242
+                                'animate__heartBeat' => 'heartBeat',
243
+                                /* Back entrances */
244
+                                'animate__backInDown' => 'backInDown',
245
+                                'animate__backInLeft' => 'backInLeft',
246
+                                'animate__backInRight' => 'backInRight',
247
+                                'animate__backInUp' => 'backInUp',
248
+                                /* Back exits */
249
+                                'animate__backOutDown' => 'backOutDown',
250
+                                'animate__backOutLeft' => 'backOutLeft',
251
+                                'animate__backOutRight' => 'backOutRight',
252
+                                'animate__backOutUp' => 'backOutUp',
253
+                                /* Bouncing entrances  */
254
+                                'animate__bounceIn' => 'bounceIn',
255
+                                'animate__bounceInDown' => 'bounceInDown',
256
+                                'animate__bounceInLeft' => 'bounceInLeft',
257
+                                'animate__bounceInRight' => 'bounceInRight',
258
+                                'animate__bounceInUp' => 'bounceInUp',
259
+                                /* Bouncing exits  */
260
+                                'animate__bounceOut' => 'bounceOut',
261
+                                'animate__bounceOutDown' => 'bounceOutDown',
262
+                                'animate__bounceOutLeft' => 'bounceOutLeft',
263
+                                'animate__bounceOutRight' => 'bounceOutRight',
264
+                                'animate__bounceOutUp' => 'bounceOutUp',
265
+                                /* Fading exits */
266
+                                'animate__fadeOut' => 'fadeOut',
267
+                                'animate__fadeOutDown' => 'fadeOutDown',
268
+                                'animate__fadeOutDownBig' => 'fadeOutDownBig',
269
+                                'animate__fadeOutLeft' => 'fadeOutLeft',
270
+                                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
271
+                                'animate__fadeOutRight' => 'fadeOutRight',
272
+                                'animate__fadeOutRightBig' => 'fadeOutRightBig',
273
+                                'animate__fadeOutUp' => 'fadeOutUp',
274
+                                'animate__fadeOutUpBig' => 'fadeOutUpBig',
275
+                                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
276
+                                'animate__fadeOutTopRight' => 'fadeOutTopRight',
277
+                                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
278
+                                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
279
+                                /* Flippers */
280
+                                'animate__flip' => 'flip',
281
+                                'animate__flipInX' => 'flipInX',
282
+                                'animate__flipInY' => 'flipInY',
283
+                                'animate__flipOutX' => 'flipOutX',
284
+                                'animate__flipOutY' => 'flipOutY',
285
+                                /* Lightspeed */
286
+                                'animate__lightSpeedInRight' => 'lightSpeedInRight',
287
+                                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
288
+                                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
289
+                                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
290
+                                /* Rotating entrances */
291
+                                'animate__rotateIn' => 'rotateIn',
292
+                                'animate__rotateInDownLeft' => 'rotateInDownLeft',
293
+                                'animate__rotateInDownRight' => 'rotateInDownRight',
294
+                                'animate__rotateInUpLeft' => 'rotateInUpLeft',
295
+                                'animate__rotateInUpRight' => 'rotateInUpRight',
296
+                                /* Rotating exits */
297
+                                'animate__rotateOut' => 'rotateOut',
298
+                                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
299
+                                'animate__rotateOutDownRight' => 'rotateOutDownRight',
300
+                                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
301
+                                'animate__rotateOutUpRight' => 'rotateOutUpRight',
302
+                                /* Specials */
303
+                                'animate__hinge' => 'hinge',
304
+                                'animate__jackInTheBox' => 'jackInTheBox',
305
+                                'animate__rollIn' => 'rollIn',
306
+                                'animate__rollOut' => 'rollOut',
307
+                                /* Zooming entrances */
308
+                                'animate__zoomIn' => 'zoomIn',
309
+                                'animate__zoomInDown' => 'zoomInDown',
310
+                                'animate__zoomInLeft' => 'zoomInLeft',
311
+                                'animate__zoomInRight' => 'zoomInRight',
312
+                                'animate__zoomInUp' => 'zoomInUp',
313
+                                /* Zooming exits */
314
+                                'animate__zoomOut' => 'zoomOut',
315
+                                'animate__zoomOutDown' => 'zoomOutDown',
316
+                                'animate__zoomOutLeft' => 'zoomOutLeft',
317
+                                'animate__zoomOutRight' => 'zoomOutRight',
318
+                                'animate__zoomOutUp' => 'zoomOutUp',
319
+                                /* Sliding entrances */
320
+                                'animate__slideInDown' => 'slideInDown',
321
+                                'animate__slideInLeft' => 'slideInLeft',
322
+                                'animate__slideInRight' => 'slideInRight',
323
+                                'animate__slideInUp' => 'slideInUp',
324
+                                /* Sliding exits */
325
+                                'animate__slideOutDown' => 'slideOutDown',
326
+                                'animate__slideOutLeft' => 'slideOutLeft',
327
+                                'animate__slideOutRight' => 'slideOutRight',
328
+                                'animate__slideOutUp' => 'slideOutUp',
329
+                            ),
330
+                            'eval' => array('chosen' => 'true')
331
+                        ),
332
+                        'headline' => array(
333
+                            'label' => array('Spaltenbezeichnung', ''),
334
+                            'inputType' => 'text',
335
+                        ),
336
+                        'image' => array(
337
+                            'label' => array('Bild', ''),
338
+                            'inputType' => 'fileTree',
339
+                            'eval' => array(
340
+                                'multiple' => false,
341
+                                'fieldType' => 'radio',
342
+                                'filesOnly' => true,
343
+                                'extensions' => 'jpg,jpeg,png,svg',
344
+                            ),
345
+                        ),
346
+                        'text_1' => array(
347
+                            'label' => array('1. Zeile', ''),
348
+                            'inputType' => 'text',
349
+                        ),
350
+                        'text_2' => array(
351
+                            'label' => array('2. Zeile', ''),
352
+                            'inputType' => 'text',
353
+                        ),
354
+                    ),
355
+                ),
356
+            ),
357
+        ),
358
+    ),
359
+);