Add EVLKS accessibility field and export mapping

This commit is contained in:
Jürgen Mummert
2026-04-01 11:46:57 +02:00
parent 42a94a2dd9
commit 8a16de3477
5 changed files with 96 additions and 17 deletions
+27 -1
View File
@@ -19,7 +19,7 @@ $fields = [
'alt', 'imageTitle', 'size', 'imageUrl', 'caption', 'floating', 'repeatEach', 'repeatEnd', 'recurrences', 'enclosure',
'source', 'linkText', 'jumpTo', 'articleId', 'url', 'cssClass', 'start', 'stop', 'languageMain', 'catalog_ort',
'catalog_kontakt', 'godi_options', 'catalog_pfarrbereiche', 'styleManager', 'export',
'external_location', 'evlkscalendar'
'external_location', 'evlkscalendar', 'evlks_access'
];
foreach ($fields as $field) {
@@ -143,6 +143,31 @@ $dca['fields']['export'] = [
'sql' => "char(1) NOT NULL default ''",
];
$dca['fields']['evlks_access'] = [
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['evlks_access'],
'exclude' => false,
'inputType' => 'select',
'options' => [
1 => 'Veranstaltung in Gebaerdensprache bzw. Gebaerdendolmetscher ist anwesend',
2 => 'Predigt / Liturgie der Veranstaltung liegt in schriftlicher Form vor',
3 => 'Veranstaltung findet in Leichter Sprache statt',
4 => 'Gebaerdensprachdolmetscher kann bei Bedarf bestellt werden',
5 => 'Abholung oder Fahrdienst kann bei Bedarf organisiert werden',
6 => 'Induktive Hoeranlage',
7 => 'FM-Anlage (drahtlose Funkanlage)',
8 => 'Punktschrift / Grossdruck auf Anfrage',
9 => 'Begleitservice auf Anfrage',
],
'eval' => [
'multiple' => true,
'chosen' => true,
'csv' => ',',
'includeBlankOption' => true,
'tl_class' => 'w50 clr',
],
'sql' => "text NULL",
];
$dca['fields']['external_location'] = [
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['external_location'],
'inputType' => 'select',
@@ -182,6 +207,7 @@ PaletteManipulator::create()
->addField('subtitle', 'title_legend', PaletteManipulator::POSITION_APPEND)
->addField('evlkscalendar', 'nossenerland_legend', PaletteManipulator::POSITION_APPEND)
->addField('export', 'nossenerland_legend', PaletteManipulator::POSITION_APPEND)
->addField('evlks_access', 'nossenerland_legend', PaletteManipulator::POSITION_APPEND)
->addField('contributors', 'address')
->addField('catalog_kontakt', 'address')
->addField('catalog_pfarrbereiche', 'address')