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,24 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Hintergrundbild für Website', ''),
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
+        'image' => array(
14
+            'label' => array('Hintergrundbild', ''),
15
+            'inputType' => 'fileTree',
16
+            'eval' => array(
17
+                'multiple' => false,
18
+                'fieldType' => 'radio',
19
+                'filesOnly' => true,
20
+                'extensions' => 'jpg,jpeg,png',
21
+            ),
22
+        ),
23
+    ),
24
+);