Extend and reorganize product tca

This commit is contained in:
Björn Fromme
2021-09-01 16:38:28 +02:00
parent c25bd8f1c8
commit 3c65dfa64f
@@ -34,11 +34,10 @@ return [
'types' => [ 'types' => [
'1' => [ '1' => [
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header, 'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header,
--palette--;;destinations, keywords, feature, --palette--;Alternative;alternative, --palette--;;destinations, --palette--;;misc, --palette--;Alternative;alternative,
--div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services, --div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services,
programme_description, ski_pass_description, programme_description, ski_pass_description,
--div--;Verknüpfungen, journey, --palette--;;concept, hotels, facts, faqs, officetip, --div--;Verknüpfungen, --palette--;;records, hotels, facts, faqs, additional_regions,
additional_regions, badge,
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video, --div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video,
--div--;Bewertung, --palette--;;rating, testimonials, --div--;Bewertung, --palette--;;rating, testimonials,
--div--;Buchbarkeit, non_bookable_dates', --div--;Buchbarkeit, non_bookable_dates',
@@ -50,9 +49,10 @@ return [
season, detail_page, external_link, path_segment'], season, detail_page, external_link, path_segment'],
'name' => ['showitem' => 'name,code'], 'name' => ['showitem' => 'name,code'],
'alternative' => ['showitem' => 'alt_product, alt_label'], 'alternative' => ['showitem' => 'alt_product, alt_label'],
'header' => ['showitem' => 'headline,subline,--linebreak--,header_title,header_subtitle'], 'header' => ['showitem' => 'headline, subline, --linebreak--, header_title, header_subtitle'],
'rating' => ['showitem' => 'rating_average,rating_votes_count'], 'rating' => ['showitem' => 'rating_average, rating_votes_count'],
'concept' => ['showitem' => 'concept,calendar_hotel'], 'records' => ['showitem' => 'journey, concept, calendar_hotel, officetip, badge'],
'misc' => ['showitem' => 'feature,keywords'],
], ],
'columns' => [ 'columns' => [
@@ -239,11 +239,12 @@ return [
], ],
'keywords' => [ 'keywords' => [
'exclude' => 0, 'exclude' => 0,
'label' => 'Keywords für Suchschlitz', 'label' => 'Keywords',
'description' => 'für Suchschlitz (veraltet)',
'config' => [ 'config' => [
'type' => 'text', 'type' => 'text',
'cols' => 40, 'cols' => 40,
'rows' => 3, 'rows' => 2,
'eval' => 'trim', 'eval' => 'trim',
], ],
], ],
@@ -267,10 +268,12 @@ return [
], ],
'feature' => [ 'feature' => [
'exclude' => 0, 'exclude' => 0,
'label' => 'Leistung für Teaser', 'label' => 'Leistungen',
'description' => 'für Teaser, max 2',
'config' => [ 'config' => [
'type' => 'input', 'type' => 'text',
'size' => 30, 'cols' => 30,
'rows' => 2,
'eval' => 'trim' 'eval' => 'trim'
], ],
], ],