Browse code

Update remote

Benjamin Roth authored on24/03/2023 11:24:53
Showing1 changed files
... ...
@@ -301,5 +301,11 @@ return array(
301 301
             'eval' => array('tl_class' => 'w50'),
302 302
         ),
303 303
 
304
+        'link_target' => array(
305
+            'label' => array('In neuem Fenster öffnen', ''),
306
+            'inputType' => 'checkbox',
307
+            'eval' => array('tl_class' => 'w50 m12'),
308
+        ),
309
+
304 310
     ),
305 311
 );
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,305 @@
1
+<?php
2
+// rsce_boxes_config.php
3
+return array(
4
+    'label' => array('Custom | Streifen mit Text auf volle Breite', ''),
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
+
21
+
22
+        'settings' => array(
23
+            'label' => array('Einstellungen', ''),
24
+            'inputType' => 'group',
25
+        ),
26
+
27
+        'animation_type' => array(
28
+            'label' => array(
29
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
30
+            ),
31
+            'inputType' => 'select',
32
+            'options' => array(
33
+                /* Fading entrances  */
34
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
35
+                'no-animation' => 'Keine Animation',
36
+                'animate__fadeIn' => 'fadeIn',
37
+                'animate__fadeInDown' => 'fadeInDown',
38
+                'animate__fadeInDownBig' => 'fadeInDownBig',
39
+                'animate__fadeInLeft' => 'fadeInLeft',
40
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
41
+                'animate__fadeInRight' => 'fadeInRight',
42
+                'animate__fadeInRightBig' => 'fadeInRightBig',
43
+                'animate__fadeInUpBig' => 'fadeInUpBig',
44
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
45
+                'animate__fadeInTopRight' => 'fadeInTopRight',
46
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
47
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
48
+                /* Attention seekers  */
49
+                'animate__bounce' => 'bounce',
50
+                'animate__flash' => 'flash',
51
+                'animate__pulse' => 'pulse',
52
+                'animate__rubberBand' => 'rubberBand',
53
+                'animate__shakeX' => 'shakeX',
54
+                'animate__shakeY' => 'shakeY',
55
+                'animate__headShake' => 'headShake',
56
+                'animate__swing' => 'swing',
57
+                'animate__tada' => 'tada',
58
+                'animate__wobble' => 'wobble',
59
+                'animate__jello' => 'jello',
60
+                'animate__heartBeat' => 'heartBeat',
61
+                /* Back entrances */
62
+                'animate__backInDown' => 'backInDown',
63
+                'animate__backInLeft' => 'backInLeft',
64
+                'animate__backInRight' => 'backInRight',
65
+                'animate__backInUp' => 'backInUp',
66
+                /* Back exits */
67
+                'animate__backOutDown' => 'backOutDown',
68
+                'animate__backOutLeft' => 'backOutLeft',
69
+                'animate__backOutRight' => 'backOutRight',
70
+                'animate__backOutUp' => 'backOutUp',
71
+                /* Bouncing entrances  */
72
+                'animate__bounceIn' => 'bounceIn',
73
+                'animate__bounceInDown' => 'bounceInDown',
74
+                'animate__bounceInLeft' => 'bounceInLeft',
75
+                'animate__bounceInRight' => 'bounceInRight',
76
+                'animate__bounceInUp' => 'bounceInUp',
77
+                /* Bouncing exits  */
78
+                'animate__bounceOut' => 'bounceOut',
79
+                'animate__bounceOutDown' => 'bounceOutDown',
80
+                'animate__bounceOutLeft' => 'bounceOutLeft',
81
+                'animate__bounceOutRight' => 'bounceOutRight',
82
+                'animate__bounceOutUp' => 'bounceOutUp',
83
+                /* Fading exits */
84
+                'animate__fadeOut' => 'fadeOut',
85
+                'animate__fadeOutDown' => 'fadeOutDown',
86
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
87
+                'animate__fadeOutLeft' => 'fadeOutLeft',
88
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
89
+                'animate__fadeOutRight' => 'fadeOutRight',
90
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
91
+                'animate__fadeOutUp' => 'fadeOutUp',
92
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
93
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
94
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
95
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
96
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
97
+                /* Flippers */
98
+                'animate__flip' => 'flip',
99
+                'animate__flipInX' => 'flipInX',
100
+                'animate__flipInY' => 'flipInY',
101
+                'animate__flipOutX' => 'flipOutX',
102
+                'animate__flipOutY' => 'flipOutY',
103
+                /* Lightspeed */
104
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
105
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
106
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
107
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
108
+                /* Rotating entrances */
109
+                'animate__rotateIn' => 'rotateIn',
110
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
111
+                'animate__rotateInDownRight' => 'rotateInDownRight',
112
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
113
+                'animate__rotateInUpRight' => 'rotateInUpRight',
114
+                /* Rotating exits */
115
+                'animate__rotateOut' => 'rotateOut',
116
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
117
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
118
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
119
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
120
+                /* Specials */
121
+                'animate__hinge' => 'hinge',
122
+                'animate__jackInTheBox' => 'jackInTheBox',
123
+                'animate__rollIn' => 'rollIn',
124
+                'animate__rollOut' => 'rollOut',
125
+                /* Zooming entrances */
126
+                'animate__zoomIn' => 'zoomIn',
127
+                'animate__zoomInDown' => 'zoomInDown',
128
+                'animate__zoomInLeft' => 'zoomInLeft',
129
+                'animate__zoomInRight' => 'zoomInRight',
130
+                'animate__zoomInUp' => 'zoomInUp',
131
+                /* Zooming exits */
132
+                'animate__zoomOut' => 'zoomOut',
133
+                'animate__zoomOutDown' => 'zoomOutDown',
134
+                'animate__zoomOutLeft' => 'zoomOutLeft',
135
+                'animate__zoomOutRight' => 'zoomOutRight',
136
+                'animate__zoomOutUp' => 'zoomOutUp',
137
+                /* Sliding entrances */
138
+                'animate__slideInDown' => 'slideInDown',
139
+                'animate__slideInLeft' => 'slideInLeft',
140
+                'animate__slideInRight' => 'slideInRight',
141
+                'animate__slideInUp' => 'slideInUp',
142
+                /* Sliding exits */
143
+                'animate__slideOutDown' => 'slideOutDown',
144
+                'animate__slideOutLeft' => 'slideOutLeft',
145
+                'animate__slideOutRight' => 'slideOutRight',
146
+                'animate__slideOutUp' => 'slideOutUp',
147
+            ),
148
+            'eval' => array('chosen' => 'true')
149
+        ),
150
+
151
+        'nocolumns' => array(
152
+            'label' => array('Text & Button untereinander anzeigen', ''),
153
+            'inputType' => 'checkbox',
154
+            'eval' => array('tl_class' => 'clr'),
155
+        ),
156
+
157
+        'image' => array(
158
+            'label' => array('Hintergrundbild', ''),
159
+            'inputType' => 'fileTree',
160
+            'eval' => array(
161
+                'multiple' => false,
162
+                'fieldType' => 'radio',
163
+                'filesOnly' => true,
164
+                'extensions' => 'jpg,jpeg,png',
165
+            ),
166
+        ),
167
+
168
+        'background_color' => array(
169
+            'label' => array(
170
+                'de' => array('Hintergrundfarbe', ''),
171
+            ),
172
+            'inputType' => 'select',
173
+            'options' => array(
174
+                'transparent' => 'Keine Hintergrundfarbe',
175
+                'var(--bs-primary)' => 'Hauptfarbe',
176
+                'var(--bs-secondary)' => 'Sekundärfarbe',
177
+                'var(--bs-blue)' => 'Blau',
178
+                'var(--bs-pink)' => 'Pink',
179
+                'var(--bs-brown)' => 'Braun',
180
+                'var(--bs-yellow)' => 'Gelb',
181
+                'var(--bs-green)' => 'Grün',
182
+            ),
183
+        ),
184
+
185
+        'alternate_background_color' => array(
186
+            'label' => array('Hintergrundfarbe', 'In HEX oder rgb(a) angeben !! überschreibt Farbauswahl !!'),
187
+            'inputType' => 'text',
188
+            'eval' => array('tl_class' => 'w50'),
189
+        ),
190
+
191
+        'text_color' => array(
192
+            'label' => array('Alternative Textfarbe', 'In HEX oder rgb(a) angeben'),
193
+            'inputType' => 'text',
194
+            'eval' => array('tl_class' => 'w50'),
195
+        ),
196
+
197
+        'settings_content' => array(
198
+            'label' => array('Inhalte', ''),
199
+            'inputType' => 'group',
200
+            'eval' => array('tl_class' => 'clr'),
201
+        ),
202
+
203
+
204
+        'ce_topline' => array(
205
+            'label' => array('Topline für Streifen', ''),
206
+            'inputType' => 'text',
207
+            'eval' => array('tl_class' => 'w50'),
208
+        ),
209
+
210
+        'ce_subline' => array(
211
+            'label' => array('Subline für Streifen', ''),
212
+            'inputType' => 'text',
213
+            'eval' => array('tl_class' => 'w50'),
214
+        ),
215
+
216
+        'headline_type' => array(
217
+            'label' => array(
218
+                'de' => array('Typ der Überschrift', ''),
219
+            ),
220
+            'inputType' => 'select',
221
+            'options' => array(
222
+                'h1' => 'H1 (Haupt-Headline für SEO, darf nur 1x vorkommen)',
223
+                'h2' => 'H2 (Sollte H1 thematisch untergeordnet sein)',
224
+                'h3' => 'H3 (Sollte H2 thematisch untergeordnet sein)',
225
+                'h4' => 'H4',
226
+                'h5' => 'H5',
227
+            ),
228
+            'eval' => array('tl_class' => 'w50'),
229
+        ),
230
+
231
+
232
+        'ce_headline' => array(
233
+            'label' => array('Überschrift für Streifen', ''),
234
+            'inputType' => 'text',
235
+            'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
236
+        ),
237
+
238
+        'text' => array(
239
+            'label' => array('Text', ''),
240
+            'inputType' => 'text',
241
+            'eval' => array(
242
+                'allowHtml' => true,
243
+                'rte' => 'tinyMCE',
244
+                'tl_class' => 'clr'
245
+            ),
246
+        ),
247
+
248
+        'dynamic_fontsize' => array(
249
+            'label' => array('Schriftgröße abhängig von Bildschirmbreite skalieren', ''),
250
+            'inputType' => 'checkbox',
251
+            'eval' => array('tl_class' => 'clr'),
252
+        ),
253
+
254
+
255
+        'settings_button' => array(
256
+            'label' => array('Button', ''),
257
+            'inputType' => 'group',
258
+        ),
259
+
260
+        'link_type' => array(
261
+            'label' => array(
262
+                'de' => array('Optik des Buttons', ''),
263
+            ),
264
+            'inputType' => 'select',
265
+            'options' => array(
266
+                'btn-primary' => 'Hauptfarbe',
267
+                'btn-outline-primary' => 'Hauptfarbe (Outline)',
268
+                'btn-secondary' => 'Sekundär-Farbe',
269
+                'btn-outline-secondary' => 'Sekundär-Farbe (Outline)',
270
+                'btn-link with-arrow' => 'Link-Optik mit Pfeilen',
271
+                'btn-outline-black' => 'Transparenter Button mit schwarzer Schrift und Rahmen', 'btn-outline-white' => 'Transparenter Button mit weißer Schrift und Rahmen',
272
+                'btn-white' => 'Weißer Button mit schwarzer Schrift',
273
+            ),
274
+            'eval' => array('tl_class' => 'w50'),
275
+        ),
276
+
277
+        'link_size' => array(
278
+            'label' => array(
279
+                'de' => array('Größe des Buttons', ''),
280
+            ),
281
+            'inputType' => 'select',
282
+            'options' => array(
283
+                '' => 'Standard',
284
+                'btn-sm' => 'Klein',
285
+                'btn-lg' => 'Groß',
286
+            ),
287
+            'eval' => array('tl_class' => 'w50'),
288
+        ),
289
+
290
+        'link_text' => array(
291
+            'label' => array(
292
+                'de' => array('Button-Beschriftung', ''),
293
+            ),
294
+            'inputType' => 'text',
295
+            'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
296
+        ),
297
+
298
+        'link_url' => array(
299
+            'label' => array('Verlinkung', ''),
300
+            'inputType' => 'url',
301
+            'eval' => array('tl_class' => 'w50'),
302
+        ),
303
+
304
+    ),
305
+);