| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,97 @@ |
| 1 |
+<?php |
|
| 2 |
+// rsce_my_element_config.php |
|
| 3 |
+// @TODO FullWidthStoerer und TeaserStripe zusammenfassen |
|
| 4 |
+return array( |
|
| 5 |
+ 'label' => array('Custom | Full-Width Störer', ''),
|
|
| 6 |
+ 'types' => array('content'),
|
|
| 7 |
+ 'contentCategory' => 'texts', |
|
| 8 |
+ 'moduleCategory' => 'miscellaneous', |
|
| 9 |
+ 'standardFields' => array('headline', 'cssID'),
|
|
| 10 |
+ 'wrapper' => array( |
|
| 11 |
+ 'type' => 'none', |
|
| 12 |
+ ), |
|
| 13 |
+ 'fields' => array( |
|
| 14 |
+ 'topline' => array( |
|
| 15 |
+ 'label' => array('Topline', 'Text oberhalb der Überschrift'),
|
|
| 16 |
+ 'inputType' => 'text', |
|
| 17 |
+ ), 'subline' => array( |
|
| 18 |
+ 'label' => array('Subline', 'Text unterhalb der Überschrift'),
|
|
| 19 |
+ 'inputType' => 'text', |
|
| 20 |
+ ), |
|
| 21 |
+ 'image' => array( |
|
| 22 |
+ 'label' => array('Bild', ''),
|
|
| 23 |
+ 'inputType' => 'fileTree', |
|
| 24 |
+ 'eval' => array( |
|
| 25 |
+ 'multiple' => false, |
|
| 26 |
+ 'fieldType' => 'radio', |
|
| 27 |
+ 'filesOnly' => true, |
|
| 28 |
+ 'extensions' => 'jpg,jpeg,png,svg', |
|
| 29 |
+ ), |
|
| 30 |
+ ), |
|
| 31 |
+ 'ce_headline' => array( |
|
| 32 |
+ 'label' => array('Überschrift', ''),
|
|
| 33 |
+ 'inputType' => 'text', |
|
| 34 |
+ 'eval' => array('allowHtml' => true),
|
|
| 35 |
+ ), |
|
| 36 |
+ 'headline_type' => array( |
|
| 37 |
+ 'label' => array( |
|
| 38 |
+ 'de' => array('Typ der Überschrift', ''),
|
|
| 39 |
+ ), |
|
| 40 |
+ 'inputType' => 'select', |
|
| 41 |
+ 'options' => array( |
|
| 42 |
+ 'h1' => 'H1', |
|
| 43 |
+ 'h2' => 'H2', |
|
| 44 |
+ 'h3' => 'H3', |
|
| 45 |
+ 'h4' => 'H4', |
|
| 46 |
+ 'h5' => 'H5', |
|
| 47 |
+ ), |
|
| 48 |
+ ), |
|
| 49 |
+ 'ce_subline' => array( |
|
| 50 |
+ 'label' => array('Subline', ''),
|
|
| 51 |
+ 'inputType' => 'text', |
|
| 52 |
+ ), |
|
| 53 |
+ 'content' => array( |
|
| 54 |
+ 'label' => array('Text', ''),
|
|
| 55 |
+ 'inputType' => 'textarea', |
|
| 56 |
+ 'eval' => array('rte' => 'tinyMCE'),
|
|
| 57 |
+ ), |
|
| 58 |
+ 'button_text' => array( |
|
| 59 |
+ 'label' => array('Button-Beschriftung', ''),
|
|
| 60 |
+ 'inputType' => 'text', |
|
| 61 |
+ ), |
|
| 62 |
+ 'button_url' => array( |
|
| 63 |
+ 'label' => array('Button-Link', ''),
|
|
| 64 |
+ 'inputType' => 'url', |
|
| 65 |
+ ), |
|
| 66 |
+ |
|
| 67 |
+ 'button_type' => array( |
|
| 68 |
+ 'label' => array( |
|
| 69 |
+ 'de' => array('Optik des Buttons', ''),
|
|
| 70 |
+ ), |
|
| 71 |
+ 'inputType' => 'select', |
|
| 72 |
+ 'options' => array( |
|
| 73 |
+ 'btn-primary' => 'Hauptfarbe', |
|
| 74 |
+ 'btn-outline-primary' => 'Hauptfarbe (Outline)', |
|
| 75 |
+ 'btn-secondary' => 'Sekundär-Farbe', |
|
| 76 |
+ 'btn-outline-secondary' => 'Sekundär-Farbe (Outline)', |
|
| 77 |
+ 'btn-link with-arrow' => 'Link-Optik mit Pfeilen', |
|
| 78 |
+ 'btn-outline-black' => 'Transparenter Button mit schwarzer Schrift und Rahmen', 'btn-outline-white' => 'Transparenter Button mit weißer Schrift und Rahmen', |
|
| 79 |
+ 'btn-white' => 'Weißer Button mit schwarzer Schrift', |
|
| 80 |
+ ), |
|
| 81 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 82 |
+ ), |
|
| 83 |
+ |
|
| 84 |
+ 'button_size' => array( |
|
| 85 |
+ 'label' => array( |
|
| 86 |
+ 'de' => array('Größe des Buttons', ''),
|
|
| 87 |
+ ), |
|
| 88 |
+ 'inputType' => 'select', |
|
| 89 |
+ 'options' => array( |
|
| 90 |
+ '' => 'Standard', |
|
| 91 |
+ 'btn-sm' => 'Klein', |
|
| 92 |
+ 'btn-lg' => 'Groß', |
|
| 93 |
+ ), |
|
| 94 |
+ 'eval' => array('tl_class' => 'w50'),
|
|
| 95 |
+ ), |
|
| 96 |
+ ), |
|
| 97 |
+); |