feat: selectable faq categories

This commit is contained in:
Björn Fromme committed 2026-06-23 18:12:29 +02:00
1 parent 3223ca92af
commit e0b43a7a38
2 files changed
+24 -1

No files matched your search

@@ -22,7 +22,7 @@ return [
], ],
'types' => [ 'types' => [
'1' => [ '1' => [
'showitem' => 'hidden, label, question, answer', 'showitem' => 'hidden, category, label, question, answer',
], ],
], ],
'palettes' => [ 'palettes' => [
@@ -110,6 +110,28 @@ return [
], ],
], ],
'category' => [
'exclude' => 0,
'label' => 'Kategorie',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[ '', '' ],
[ 'Allgemein', 'Allgemein' ],
[ 'Anreise & Transport', 'Anreise & Transport' ],
[ 'Buchung & Bezahlung', 'Buchung & Bezahlung' ],
[ 'Eventreisen', 'Eventreisen' ],
[ 'Gepäck', 'Gepäck' ],
[ 'Kontakt & Erreichbarkeit', 'Kontakt & Erreichbarkeit' ],
[ 'Programm & Aktivitäten', 'Programm & Aktivitäten' ],
[ 'Skipass & Skigebiet', 'Skipass & Skigebiet' ],
[ 'Stornierung & Reklamation', 'Stornierung & Reklamation' ],
[ 'Versicherung & Sicherheit', 'Versicherung & Sicherheit' ],
],
'default' => '',
],
],
'label' => [ 'label' => [
'exclude' => 0, 'exclude' => 0,
'label' => 'Bezeichnung', 'label' => 'Bezeichnung',
@@ -872,6 +872,7 @@ CREATE TABLE tx_epproducts_domain_model_faq
uid int(11) NOT NULL auto_increment, uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL, pid int(11) DEFAULT '0' NOT NULL,
category varchar(255) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL, label varchar(255) DEFAULT '' NOT NULL,
question varchar(255) DEFAULT '' NOT NULL, question varchar(255) DEFAULT '' NOT NULL,
answer text NOT NULL, answer text NOT NULL,