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,199 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Fixed Störer', ''),
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
+        'animation_type' => array(
15
+            'label' => array(
16
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
17
+            ),
18
+            'inputType' => 'select',
19
+            'options' => array(
20
+                /* Fading entrances  */
21
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
22
+                'no-animation' => 'Keine Animation',
23
+                'animate__fadeIn' => 'fadeIn',
24
+                'animate__fadeInDown' => 'fadeInDown',
25
+                'animate__fadeInDownBig' => 'fadeInDownBig',
26
+                'animate__fadeInLeft' => 'fadeInLeft',
27
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
28
+                'animate__fadeInRight' => 'fadeInRight',
29
+                'animate__fadeInRightBig' => 'fadeInRightBig',
30
+                'animate__fadeInUpBig' => 'fadeInUpBig',
31
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
32
+                'animate__fadeInTopRight' => 'fadeInTopRight',
33
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
34
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
35
+                /* Attention seekers  */
36
+                'animate__bounce' => 'bounce',
37
+                'animate__flash' => 'flash',
38
+                'animate__pulse' => 'pulse',
39
+                'animate__rubberBand' => 'rubberBand',
40
+                'animate__shakeX' => 'shakeX',
41
+                'animate__shakeY' => 'shakeY',
42
+                'animate__headShake' => 'headShake',
43
+                'animate__swing' => 'swing',
44
+                'animate__tada' => 'tada',
45
+                'animate__wobble' => 'wobble',
46
+                'animate__jello' => 'jello',
47
+                'animate__heartBeat' => 'heartBeat',
48
+                /* Back entrances */
49
+                'animate__backInDown' => 'backInDown',
50
+                'animate__backInLeft' => 'backInLeft',
51
+                'animate__backInRight' => 'backInRight',
52
+                'animate__backInUp' => 'backInUp',
53
+                /* Back exits */
54
+                'animate__backOutDown' => 'backOutDown',
55
+                'animate__backOutLeft' => 'backOutLeft',
56
+                'animate__backOutRight' => 'backOutRight',
57
+                'animate__backOutUp' => 'backOutUp',
58
+                /* Bouncing entrances  */
59
+                'animate__bounceIn' => 'bounceIn',
60
+                'animate__bounceInDown' => 'bounceInDown',
61
+                'animate__bounceInLeft' => 'bounceInLeft',
62
+                'animate__bounceInRight' => 'bounceInRight',
63
+                'animate__bounceInUp' => 'bounceInUp',
64
+                /* Bouncing exits  */
65
+                'animate__bounceOut' => 'bounceOut',
66
+                'animate__bounceOutDown' => 'bounceOutDown',
67
+                'animate__bounceOutLeft' => 'bounceOutLeft',
68
+                'animate__bounceOutRight' => 'bounceOutRight',
69
+                'animate__bounceOutUp' => 'bounceOutUp',
70
+                /* Fading exits */
71
+                'animate__fadeOut' => 'fadeOut',
72
+                'animate__fadeOutDown' => 'fadeOutDown',
73
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
74
+                'animate__fadeOutLeft' => 'fadeOutLeft',
75
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
76
+                'animate__fadeOutRight' => 'fadeOutRight',
77
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
78
+                'animate__fadeOutUp' => 'fadeOutUp',
79
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
80
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
81
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
82
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
83
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
84
+                /* Flippers */
85
+                'animate__flip' => 'flip',
86
+                'animate__flipInX' => 'flipInX',
87
+                'animate__flipInY' => 'flipInY',
88
+                'animate__flipOutX' => 'flipOutX',
89
+                'animate__flipOutY' => 'flipOutY',
90
+                /* Lightspeed */
91
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
92
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
93
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
94
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
95
+                /* Rotating entrances */
96
+                'animate__rotateIn' => 'rotateIn',
97
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
98
+                'animate__rotateInDownRight' => 'rotateInDownRight',
99
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
100
+                'animate__rotateInUpRight' => 'rotateInUpRight',
101
+                /* Rotating exits */
102
+                'animate__rotateOut' => 'rotateOut',
103
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
104
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
105
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
106
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
107
+                /* Specials */
108
+                'animate__hinge' => 'hinge',
109
+                'animate__jackInTheBox' => 'jackInTheBox',
110
+                'animate__rollIn' => 'rollIn',
111
+                'animate__rollOut' => 'rollOut',
112
+                /* Zooming entrances */
113
+                'animate__zoomIn' => 'zoomIn',
114
+                'animate__zoomInDown' => 'zoomInDown',
115
+                'animate__zoomInLeft' => 'zoomInLeft',
116
+                'animate__zoomInRight' => 'zoomInRight',
117
+                'animate__zoomInUp' => 'zoomInUp',
118
+                /* Zooming exits */
119
+                'animate__zoomOut' => 'zoomOut',
120
+                'animate__zoomOutDown' => 'zoomOutDown',
121
+                'animate__zoomOutLeft' => 'zoomOutLeft',
122
+                'animate__zoomOutRight' => 'zoomOutRight',
123
+                'animate__zoomOutUp' => 'zoomOutUp',
124
+                /* Sliding entrances */
125
+                'animate__slideInDown' => 'slideInDown',
126
+                'animate__slideInLeft' => 'slideInLeft',
127
+                'animate__slideInRight' => 'slideInRight',
128
+                'animate__slideInUp' => 'slideInUp',
129
+                /* Sliding exits */
130
+                'animate__slideOutDown' => 'slideOutDown',
131
+                'animate__slideOutLeft' => 'slideOutLeft',
132
+                'animate__slideOutRight' => 'slideOutRight',
133
+                'animate__slideOutUp' => 'slideOutUp',
134
+            ),
135
+            'eval' => array('chosen' => 'true')
136
+        ),
137
+
138
+
139
+        'alternate_top_position' => array(
140
+            'label' => array('Abstand von oberer Bildschirmkante', 'Standard: 150px - entweder OBEN oder UNTEN ausfüllen'),
141
+            'inputType' => 'text',
142
+            'eval' => array('tl_class' => 'w50'),
143
+        ),
144
+
145
+        'alternate_bottom_position' => array(
146
+            'label' => array('Abstand von unterer Bildschirmkante', 'entweder OBEN oder UNTEN ausfüllen'),
147
+            'inputType' => 'text',
148
+            'eval' => array('tl_class' => 'w50'),
149
+        ),
150
+
151
+        'alternate_right_position' => array(
152
+            'label' => array('Abstand von rechter Bildschirmkante', 'Standard: 25px - entweder RECHTS oder LINKS ausfüllen'),
153
+            'inputType' => 'text',
154
+            'eval' => array('tl_class' => 'w50'),
155
+        ),
156
+
157
+        'alternate_left_position' => array(
158
+            'label' => array('Abstand von linker Bildschirmkante', 'entweder RECHTS oder LINKS ausfüllen'),
159
+            'inputType' => 'text',
160
+            'eval' => array('tl_class' => 'w50'),
161
+        ),
162
+
163
+
164
+        'alternate_text_color' => array(
165
+            'label' => array('Schriftfarbe als HEX-Wert', 'Standard-Farbe ist die Basis-Textfarbe'),
166
+            'inputType' => 'text',
167
+            'eval' => array('tl_class' => 'w50'),
168
+        ),
169
+
170
+        'text_rotation' => array(
171
+            'label' => array('Falls der Störer im Uhrzeigersinn geneigt werden soll', ''),
172
+            'inputType' => 'text',
173
+            'eval' => array('tl_class' => 'w50'),
174
+        ),
175
+
176
+        'is_fixed' => array(
177
+            'label' => array('Störer scrollt mit', ''),
178
+            'inputType' => 'checkbox',
179
+            'eval' => array('tl_class' => 'clr'),
180
+        ),
181
+
182
+        'img' => array(
183
+            'label' => array('Bild', ''),
184
+            'inputType' => 'fileTree',
185
+            'eval' => array(
186
+                'multiple' => false,
187
+                'fieldType' => 'radio',
188
+                'filesOnly' => true,
189
+                'extensions' => 'jpg,jpeg,png,svg',
190
+            ),
191
+        ),
192
+
193
+        'content' => array(
194
+            'label' => array('Text', ''),
195
+            'inputType' => 'textarea',
196
+            'eval' => array('rte' => 'tinyMCE'),
197
+        ),
198
+    ),
199
+);