diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_faq.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_faq.php index 1a3c5831..9d840d15 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_faq.php +++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_faq.php @@ -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', diff --git a/public/typo3conf/ext/ep_products/ext_tables.sql b/public/typo3conf/ext/ep_products/ext_tables.sql index 0d6d8455..071b05ef 100644 --- a/public/typo3conf/ext/ep_products/ext_tables.sql +++ b/public/typo3conf/ext/ep_products/ext_tables.sql @@ -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,