VITEC Import module: Products tab is now a searchable/sortable product overview. "Edit Product" opens an XLSX upload with per-field source mapping (component + cell), old/new preview and checkbox apply via DataHandler; the mapping and manual matches are persisted and preselect the next workbook. Category workbooks are detected and rejected. - new: ProductXlsxReader (PhpSpreadsheet), ProductTextImportController, Products/ProductTexts templates, 4 module routes - related products: per-pair card text in new side table tx_vitec_product_related_text (survives MM rewrites), emitted as `cardtext` in the product JSON; missing MM relations added add-only - card copy read from Body Copy (D) with fallback to CTA/Card Copy (E) - the workbooks fill either depending on row type - product detail page <title> now uses seotitle with title fallback (provider made singleton and fed from the JSON renderer) - per-user recent-search badges; last loaded workbook stored per product (tx_vitec_product_workbook), Edit Product reopens on it - composer: add phpoffice/phpspreadsheet ^5.9 - diagnostics: migrations/check_workbook.php
39 lines
1.1 KiB
PHP
Executable File
39 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* Frontend middleware registration for EXT:vitec.
|
|
*/
|
|
return [
|
|
'frontend' => [
|
|
'vitec/form-submission' => [
|
|
'target' => \Evomedien\Vitec\Middleware\FormSubmissionMiddleware::class,
|
|
'after' => [
|
|
'typo3/cms-core/normalized-params-attribute',
|
|
],
|
|
'before' => [
|
|
'typo3/cms-frontend/site',
|
|
],
|
|
],
|
|
'vitec/success-story-path-rewrite' => [
|
|
'target' => \Evomedien\Vitec\Middleware\SuccessStoryPathRewrite::class,
|
|
'after' => [
|
|
'typo3/cms-core/normalized-params-attribute',
|
|
],
|
|
'before' => [
|
|
'typo3/cms-frontend/site',
|
|
],
|
|
],
|
|
'vitec/download-file' => [
|
|
'target' => \Evomedien\Vitec\Middleware\DownloadFileMiddleware::class,
|
|
'after' => [
|
|
'typo3/cms-core/normalized-params-attribute',
|
|
],
|
|
'before' => [
|
|
'typo3/cms-frontend/site',
|
|
],
|
|
],
|
|
],
|
|
];
|