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,231 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Sitemap, z. B. für Megamenü (sitemap)', ''),
5
+    'types' => array('content'),
6
+    'contentCategory' => 'texts',
7
+    'moduleCategory' => 'miscellaneous',
8
+    'standardFields' => array('cssID'),
9
+    'wrapper' => array(
10
+        'type' => 'none',
11
+    ),
12
+    'fields' => array(
13
+
14
+        'lvl1' => array(
15
+            'label' => array('Spalten', ''),
16
+            'elementLabel' => '%s. Spalte',
17
+            'inputType' => 'list',
18
+            'minItems' => 1,
19
+            'maxItems' => 999,
20
+            'fields' => array(
21
+                'column_width' => array(
22
+                    'label' => array(
23
+                        'de' => array('Spaltenbreite', ''),
24
+                    ),
25
+                    'inputType' => 'select',
26
+                    'options' => array(
27
+                        'col-12 col-md-6 col-lg-3' => '25%',
28
+                        'col-12 col-md-6 col-lg-4' => '33%',
29
+                        'col-12 col-md-6' => '50%',
30
+                        'col-12 col-md-6 col-lg-8' => '66.66%',
31
+                        'col-12 col-md-6 col-lg-9' => '75%',
32
+                        'col-12' => 'Volle Breite',
33
+                        'col-12 col-md' => 'Automatische Breite (füllend)',
34
+                        'col-12 col-md-auto' => 'Breite anhand des Inhalts',
35
+                    ),
36
+                ),
37
+
38
+                'animation_type' => array(
39
+                    'label' => array(
40
+                        'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
41
+                    ),
42
+                    'inputType' => 'select',
43
+                    'options' => array(
44
+                        /* Fading entrances  */
45
+                        'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
46
+                        'no-animation' => 'Keine Animation',
47
+                        'animate__fadeIn' => 'fadeIn',
48
+                        'animate__fadeInDown' => 'fadeInDown',
49
+                        'animate__fadeInDownBig' => 'fadeInDownBig',
50
+                        'animate__fadeInLeft' => 'fadeInLeft',
51
+                        'animate__fadeInLeftBig' => 'fadeInLeftBig',
52
+                        'animate__fadeInRight' => 'fadeInRight',
53
+                        'animate__fadeInRightBig' => 'fadeInRightBig',
54
+                        'animate__fadeInUpBig' => 'fadeInUpBig',
55
+                        'animate__fadeInTopLeft' => 'fadeInTopLeft',
56
+                        'animate__fadeInTopRight' => 'fadeInTopRight',
57
+                        'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
58
+                        'animate__fadeInBottomRight' => 'fadeInBottomRight',
59
+                        /* Attention seekers  */
60
+                        'animate__bounce' => 'bounce',
61
+                        'animate__flash' => 'flash',
62
+                        'animate__pulse' => 'pulse',
63
+                        'animate__rubberBand' => 'rubberBand',
64
+                        'animate__shakeX' => 'shakeX',
65
+                        'animate__shakeY' => 'shakeY',
66
+                        'animate__headShake' => 'headShake',
67
+                        'animate__swing' => 'swing',
68
+                        'animate__tada' => 'tada',
69
+                        'animate__wobble' => 'wobble',
70
+                        'animate__jello' => 'jello',
71
+                        'animate__heartBeat' => 'heartBeat',
72
+                        /* Back entrances */
73
+                        'animate__backInDown' => 'backInDown',
74
+                        'animate__backInLeft' => 'backInLeft',
75
+                        'animate__backInRight' => 'backInRight',
76
+                        'animate__backInUp' => 'backInUp',
77
+                        /* Back exits */
78
+                        'animate__backOutDown' => 'backOutDown',
79
+                        'animate__backOutLeft' => 'backOutLeft',
80
+                        'animate__backOutRight' => 'backOutRight',
81
+                        'animate__backOutUp' => 'backOutUp',
82
+                        /* Bouncing entrances  */
83
+                        'animate__bounceIn' => 'bounceIn',
84
+                        'animate__bounceInDown' => 'bounceInDown',
85
+                        'animate__bounceInLeft' => 'bounceInLeft',
86
+                        'animate__bounceInRight' => 'bounceInRight',
87
+                        'animate__bounceInUp' => 'bounceInUp',
88
+                        /* Bouncing exits  */
89
+                        'animate__bounceOut' => 'bounceOut',
90
+                        'animate__bounceOutDown' => 'bounceOutDown',
91
+                        'animate__bounceOutLeft' => 'bounceOutLeft',
92
+                        'animate__bounceOutRight' => 'bounceOutRight',
93
+                        'animate__bounceOutUp' => 'bounceOutUp',
94
+                        /* Fading exits */
95
+                        'animate__fadeOut' => 'fadeOut',
96
+                        'animate__fadeOutDown' => 'fadeOutDown',
97
+                        'animate__fadeOutDownBig' => 'fadeOutDownBig',
98
+                        'animate__fadeOutLeft' => 'fadeOutLeft',
99
+                        'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
100
+                        'animate__fadeOutRight' => 'fadeOutRight',
101
+                        'animate__fadeOutRightBig' => 'fadeOutRightBig',
102
+                        'animate__fadeOutUp' => 'fadeOutUp',
103
+                        'animate__fadeOutUpBig' => 'fadeOutUpBig',
104
+                        'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
105
+                        'animate__fadeOutTopRight' => 'fadeOutTopRight',
106
+                        'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
107
+                        'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
108
+                        /* Flippers */
109
+                        'animate__flip' => 'flip',
110
+                        'animate__flipInX' => 'flipInX',
111
+                        'animate__flipInY' => 'flipInY',
112
+                        'animate__flipOutX' => 'flipOutX',
113
+                        'animate__flipOutY' => 'flipOutY',
114
+                        /* Lightspeed */
115
+                        'animate__lightSpeedInRight' => 'lightSpeedInRight',
116
+                        'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
117
+                        'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
118
+                        'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
119
+                        /* Rotating entrances */
120
+                        'animate__rotateIn' => 'rotateIn',
121
+                        'animate__rotateInDownLeft' => 'rotateInDownLeft',
122
+                        'animate__rotateInDownRight' => 'rotateInDownRight',
123
+                        'animate__rotateInUpLeft' => 'rotateInUpLeft',
124
+                        'animate__rotateInUpRight' => 'rotateInUpRight',
125
+                        /* Rotating exits */
126
+                        'animate__rotateOut' => 'rotateOut',
127
+                        'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
128
+                        'animate__rotateOutDownRight' => 'rotateOutDownRight',
129
+                        'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
130
+                        'animate__rotateOutUpRight' => 'rotateOutUpRight',
131
+                        /* Specials */
132
+                        'animate__hinge' => 'hinge',
133
+                        'animate__jackInTheBox' => 'jackInTheBox',
134
+                        'animate__rollIn' => 'rollIn',
135
+                        'animate__rollOut' => 'rollOut',
136
+                        /* Zooming entrances */
137
+                        'animate__zoomIn' => 'zoomIn',
138
+                        'animate__zoomInDown' => 'zoomInDown',
139
+                        'animate__zoomInLeft' => 'zoomInLeft',
140
+                        'animate__zoomInRight' => 'zoomInRight',
141
+                        'animate__zoomInUp' => 'zoomInUp',
142
+                        /* Zooming exits */
143
+                        'animate__zoomOut' => 'zoomOut',
144
+                        'animate__zoomOutDown' => 'zoomOutDown',
145
+                        'animate__zoomOutLeft' => 'zoomOutLeft',
146
+                        'animate__zoomOutRight' => 'zoomOutRight',
147
+                        'animate__zoomOutUp' => 'zoomOutUp',
148
+                        /* Sliding entrances */
149
+                        'animate__slideInDown' => 'slideInDown',
150
+                        'animate__slideInLeft' => 'slideInLeft',
151
+                        'animate__slideInRight' => 'slideInRight',
152
+                        'animate__slideInUp' => 'slideInUp',
153
+                        /* Sliding exits */
154
+                        'animate__slideOutDown' => 'slideOutDown',
155
+                        'animate__slideOutLeft' => 'slideOutLeft',
156
+                        'animate__slideOutRight' => 'slideOutRight',
157
+                        'animate__slideOutUp' => 'slideOutUp',
158
+                    ),
159
+                    'eval' => array('chosen' => 'true')
160
+                ),
161
+
162
+                'image_lvl1' => array(
163
+                    'label' => array('Bild', ''),
164
+                    'inputType' => 'fileTree',
165
+                    'eval' => array(
166
+                        'multiple' => false,
167
+                        'fieldType' => 'radio',
168
+                        'filesOnly' => true,
169
+                        'extensions' => 'jpg,jpeg,png,svg',
170
+                        'tl_class' => 'clr'
171
+                    ),
172
+                ),
173
+
174
+
175
+                'text_lvl1' => array(
176
+                    'label' => array('Bezeichnung', ''),
177
+                    'inputType' => 'text',
178
+                    'eval' => array('tl_class' => 'w50'),
179
+                ),
180
+                'link_lvl1' => array(
181
+                    'label' => array('Link', ''),
182
+                    'inputType' => 'url',
183
+                    'eval' => array('tl_class' => 'w50'),
184
+                ),
185
+
186
+
187
+                'lvl2' => array(
188
+                    'label' => array('2. Ebene', ''),
189
+                    'elementLabel' => '%s. URL 2. Ebene',
190
+                    'inputType' => 'list',
191
+                    'minItems' => 0,
192
+                    'maxItems' => 999,
193
+                    'fields' => array(
194
+                        'text_lvl2' => array(
195
+                            'label' => array('Bezeichnung', ''),
196
+                            'inputType' => 'text',
197
+                            'eval' => array('tl_class' => 'w50'),
198
+                        ),
199
+                        'link_lvl2' => array(
200
+                            'label' => array('Link', ''),
201
+                            'inputType' => 'url',
202
+                            'eval' => array('tl_class' => 'w50'),
203
+                        ),
204
+
205
+                        'lvl3' => array(
206
+                            'label' => array('3. Ebene', ''),
207
+                            'elementLabel' => '%s. URL 3. Ebene',
208
+                            'inputType' => 'list',
209
+                            'minItems' => 0,
210
+                            'maxItems' => 999,
211
+                            'fields' => array(
212
+                                'text_lvl3' => array(
213
+                                    'label' => array('Bezeichnung', ''),
214
+                                    'inputType' => 'text',
215
+                                    'eval' => array('tl_class' => 'w50'),
216
+                                ),
217
+                                'link_lvl3' => array(
218
+                                    'label' => array('Link', ''),
219
+                                    'inputType' => 'url',
220
+                                    'eval' => array('tl_class' => 'w50'),
221
+                                ),
222
+                            ),
223
+                        ),
224
+                    ),
225
+                ),
226
+
227
+
228
+            ),
229
+        ),
230
+    ),
231
+);