| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,308 @@ |
| 1 |
+<?php |
|
| 2 |
+// rsce_my_element_config.php |
|
| 3 |
+return array( |
|
| 4 |
+ 'label' => array('Custom | Box mit Titel und Subtitle sowie Galerie je Box', ''),
|
|
| 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 |
+ 'box' => array( |
|
| 144 |
+ 'label' => array('Boxen', ''),
|
|
| 145 |
+ 'elementLabel' => '%s. Box', |
|
| 146 |
+ 'inputType' => 'list', |
|
| 147 |
+ 'minItems' => 1, |
|
| 148 |
+ 'maxItems' => 12, |
|
| 149 |
+ 'fields' => array( |
|
| 150 |
+ 'animation_type' => array( |
|
| 151 |
+ 'label' => array( |
|
| 152 |
+ 'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
|
|
| 153 |
+ ), |
|
| 154 |
+ 'inputType' => 'select', |
|
| 155 |
+ 'options' => array( |
|
| 156 |
+ /* Fading entrances */ |
|
| 157 |
+ 'animate__fadeInUp' => 'fadeInUp (Meistens Standard)', |
|
| 158 |
+ 'no-animation' => 'Keine Animation', |
|
| 159 |
+ 'animate__fadeIn' => 'fadeIn', |
|
| 160 |
+ 'animate__fadeInDown' => 'fadeInDown', |
|
| 161 |
+ 'animate__fadeInDownBig' => 'fadeInDownBig', |
|
| 162 |
+ 'animate__fadeInLeft' => 'fadeInLeft', |
|
| 163 |
+ 'animate__fadeInLeftBig' => 'fadeInLeftBig', |
|
| 164 |
+ 'animate__fadeInRight' => 'fadeInRight', |
|
| 165 |
+ 'animate__fadeInRightBig' => 'fadeInRightBig', |
|
| 166 |
+ 'animate__fadeInUpBig' => 'fadeInUpBig', |
|
| 167 |
+ 'animate__fadeInTopLeft' => 'fadeInTopLeft', |
|
| 168 |
+ 'animate__fadeInTopRight' => 'fadeInTopRight', |
|
| 169 |
+ 'animate__fadeInBottomLeft' => 'fadeInBottomLeft', |
|
| 170 |
+ 'animate__fadeInBottomRight' => 'fadeInBottomRight', |
|
| 171 |
+ /* Attention seekers */ |
|
| 172 |
+ 'animate__bounce' => 'bounce', |
|
| 173 |
+ 'animate__flash' => 'flash', |
|
| 174 |
+ 'animate__pulse' => 'pulse', |
|
| 175 |
+ 'animate__rubberBand' => 'rubberBand', |
|
| 176 |
+ 'animate__shakeX' => 'shakeX', |
|
| 177 |
+ 'animate__shakeY' => 'shakeY', |
|
| 178 |
+ 'animate__headShake' => 'headShake', |
|
| 179 |
+ 'animate__swing' => 'swing', |
|
| 180 |
+ 'animate__tada' => 'tada', |
|
| 181 |
+ 'animate__wobble' => 'wobble', |
|
| 182 |
+ 'animate__jello' => 'jello', |
|
| 183 |
+ 'animate__heartBeat' => 'heartBeat', |
|
| 184 |
+ /* Back entrances */ |
|
| 185 |
+ 'animate__backInDown' => 'backInDown', |
|
| 186 |
+ 'animate__backInLeft' => 'backInLeft', |
|
| 187 |
+ 'animate__backInRight' => 'backInRight', |
|
| 188 |
+ 'animate__backInUp' => 'backInUp', |
|
| 189 |
+ /* Back exits */ |
|
| 190 |
+ 'animate__backOutDown' => 'backOutDown', |
|
| 191 |
+ 'animate__backOutLeft' => 'backOutLeft', |
|
| 192 |
+ 'animate__backOutRight' => 'backOutRight', |
|
| 193 |
+ 'animate__backOutUp' => 'backOutUp', |
|
| 194 |
+ /* Bouncing entrances */ |
|
| 195 |
+ 'animate__bounceIn' => 'bounceIn', |
|
| 196 |
+ 'animate__bounceInDown' => 'bounceInDown', |
|
| 197 |
+ 'animate__bounceInLeft' => 'bounceInLeft', |
|
| 198 |
+ 'animate__bounceInRight' => 'bounceInRight', |
|
| 199 |
+ 'animate__bounceInUp' => 'bounceInUp', |
|
| 200 |
+ /* Bouncing exits */ |
|
| 201 |
+ 'animate__bounceOut' => 'bounceOut', |
|
| 202 |
+ 'animate__bounceOutDown' => 'bounceOutDown', |
|
| 203 |
+ 'animate__bounceOutLeft' => 'bounceOutLeft', |
|
| 204 |
+ 'animate__bounceOutRight' => 'bounceOutRight', |
|
| 205 |
+ 'animate__bounceOutUp' => 'bounceOutUp', |
|
| 206 |
+ /* Fading exits */ |
|
| 207 |
+ 'animate__fadeOut' => 'fadeOut', |
|
| 208 |
+ 'animate__fadeOutDown' => 'fadeOutDown', |
|
| 209 |
+ 'animate__fadeOutDownBig' => 'fadeOutDownBig', |
|
| 210 |
+ 'animate__fadeOutLeft' => 'fadeOutLeft', |
|
| 211 |
+ 'animate__fadeOutLeftBig' => 'fadeOutLeftBig', |
|
| 212 |
+ 'animate__fadeOutRight' => 'fadeOutRight', |
|
| 213 |
+ 'animate__fadeOutRightBig' => 'fadeOutRightBig', |
|
| 214 |
+ 'animate__fadeOutUp' => 'fadeOutUp', |
|
| 215 |
+ 'animate__fadeOutUpBig' => 'fadeOutUpBig', |
|
| 216 |
+ 'animate__fadeOutTopLeft' => 'fadeOutTopLeft', |
|
| 217 |
+ 'animate__fadeOutTopRight' => 'fadeOutTopRight', |
|
| 218 |
+ 'animate__fadeOutBottomRight' => 'fadeOutBottomRight', |
|
| 219 |
+ 'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft', |
|
| 220 |
+ /* Flippers */ |
|
| 221 |
+ 'animate__flip' => 'flip', |
|
| 222 |
+ 'animate__flipInX' => 'flipInX', |
|
| 223 |
+ 'animate__flipInY' => 'flipInY', |
|
| 224 |
+ 'animate__flipOutX' => 'flipOutX', |
|
| 225 |
+ 'animate__flipOutY' => 'flipOutY', |
|
| 226 |
+ /* Lightspeed */ |
|
| 227 |
+ 'animate__lightSpeedInRight' => 'lightSpeedInRight', |
|
| 228 |
+ 'animate__lightSpeedInLeft' => 'lightSpeedInLeft', |
|
| 229 |
+ 'animate__lightSpeedOutRight' => 'lightSpeedOutRight', |
|
| 230 |
+ 'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft', |
|
| 231 |
+ /* Rotating entrances */ |
|
| 232 |
+ 'animate__rotateIn' => 'rotateIn', |
|
| 233 |
+ 'animate__rotateInDownLeft' => 'rotateInDownLeft', |
|
| 234 |
+ 'animate__rotateInDownRight' => 'rotateInDownRight', |
|
| 235 |
+ 'animate__rotateInUpLeft' => 'rotateInUpLeft', |
|
| 236 |
+ 'animate__rotateInUpRight' => 'rotateInUpRight', |
|
| 237 |
+ /* Rotating exits */ |
|
| 238 |
+ 'animate__rotateOut' => 'rotateOut', |
|
| 239 |
+ 'animate__rotateOutDownLeft' => 'rotateOutDownLeft', |
|
| 240 |
+ 'animate__rotateOutDownRight' => 'rotateOutDownRight', |
|
| 241 |
+ 'animate__rotateOutUpLeft' => 'rotateOutUpLeft', |
|
| 242 |
+ 'animate__rotateOutUpRight' => 'rotateOutUpRight', |
|
| 243 |
+ /* Specials */ |
|
| 244 |
+ 'animate__hinge' => 'hinge', |
|
| 245 |
+ 'animate__jackInTheBox' => 'jackInTheBox', |
|
| 246 |
+ 'animate__rollIn' => 'rollIn', |
|
| 247 |
+ 'animate__rollOut' => 'rollOut', |
|
| 248 |
+ /* Zooming entrances */ |
|
| 249 |
+ 'animate__zoomIn' => 'zoomIn', |
|
| 250 |
+ 'animate__zoomInDown' => 'zoomInDown', |
|
| 251 |
+ 'animate__zoomInLeft' => 'zoomInLeft', |
|
| 252 |
+ 'animate__zoomInRight' => 'zoomInRight', |
|
| 253 |
+ 'animate__zoomInUp' => 'zoomInUp', |
|
| 254 |
+ /* Zooming exits */ |
|
| 255 |
+ 'animate__zoomOut' => 'zoomOut', |
|
| 256 |
+ 'animate__zoomOutDown' => 'zoomOutDown', |
|
| 257 |
+ 'animate__zoomOutLeft' => 'zoomOutLeft', |
|
| 258 |
+ 'animate__zoomOutRight' => 'zoomOutRight', |
|
| 259 |
+ 'animate__zoomOutUp' => 'zoomOutUp', |
|
| 260 |
+ /* Sliding entrances */ |
|
| 261 |
+ 'animate__slideInDown' => 'slideInDown', |
|
| 262 |
+ 'animate__slideInLeft' => 'slideInLeft', |
|
| 263 |
+ 'animate__slideInRight' => 'slideInRight', |
|
| 264 |
+ 'animate__slideInUp' => 'slideInUp', |
|
| 265 |
+ /* Sliding exits */ |
|
| 266 |
+ 'animate__slideOutDown' => 'slideOutDown', |
|
| 267 |
+ 'animate__slideOutLeft' => 'slideOutLeft', |
|
| 268 |
+ 'animate__slideOutRight' => 'slideOutRight', |
|
| 269 |
+ 'animate__slideOutUp' => 'slideOutUp', |
|
| 270 |
+ ), |
|
| 271 |
+ 'eval' => array('chosen' => 'true')
|
|
| 272 |
+ ), |
|
| 273 |
+ 'image' => array( |
|
| 274 |
+ 'label' => array('Bild', 'oberhalb der Box'),
|
|
| 275 |
+ 'inputType' => 'fileTree', |
|
| 276 |
+ 'eval' => array( |
|
| 277 |
+ 'multiple' => false, |
|
| 278 |
+ 'fieldType' => 'radio', |
|
| 279 |
+ 'filesOnly' => true, |
|
| 280 |
+ 'extensions' => 'jpg,jpeg,png,svg', |
|
| 281 |
+ ), |
|
| 282 |
+ ), |
|
| 283 |
+ 'images' => array( |
|
| 284 |
+ 'label' => array('Bilder für Galerie', 'falls Galerie in Lightbox gewünscht, Verlinkung dann nicht mehr möglich'),
|
|
| 285 |
+ 'inputType' => 'fileTree', |
|
| 286 |
+ 'eval' => array( |
|
| 287 |
+ 'multiple' => true, |
|
| 288 |
+ 'fieldType' => 'checkbox', |
|
| 289 |
+ 'filesOnly' => true, |
|
| 290 |
+ 'extensions' => 'jpg,jpeg,png,svg', |
|
| 291 |
+ ), |
|
| 292 |
+ ), |
|
| 293 |
+ 'title' => array( |
|
| 294 |
+ 'label' => array('Text', ''),
|
|
| 295 |
+ 'inputType' => 'text', |
|
| 296 |
+ ), |
|
| 297 |
+ 'subtitle' => array( |
|
| 298 |
+ 'label' => array('Subtitle', ''),
|
|
| 299 |
+ 'inputType' => 'text', |
|
| 300 |
+ ), |
|
| 301 |
+ 'url' => array( |
|
| 302 |
+ 'label' => array('Link', 'nur möglich, wenn keine Galerie-Bilder ausgewählt sind, Link wird dann ignoriert'),
|
|
| 303 |
+ 'inputType' => 'url', |
|
| 304 |
+ ), |
|
| 305 |
+ ), |
|
| 306 |
+ ), |
|
| 307 |
+ ), |
|
| 308 |
+); |