feat: selectable faq categories
This commit is contained in:
+23
-1
@@ -22,7 +22,7 @@ return [
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'hidden, label, question, answer',
|
||||
'showitem' => 'hidden, category, label, question, answer',
|
||||
],
|
||||
],
|
||||
'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' => [
|
||||
'exclude' => 0,
|
||||
'label' => 'Bezeichnung',
|
||||
|
||||
@@ -872,6 +872,7 @@ CREATE TABLE tx_epproducts_domain_model_faq
|
||||
uid int(11) NOT NULL auto_increment,
|
||||
pid int(11) DEFAULT '0' NOT NULL,
|
||||
|
||||
category varchar(255) DEFAULT '' NOT NULL,
|
||||
label varchar(255) DEFAULT '' NOT NULL,
|
||||
question varchar(255) DEFAULT '' NOT NULL,
|
||||
answer text NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user