VITEC headless v14: 5-bug fix unifies plugin renderers + cleanup
Resolves a cascade of TYPO3 v14 breaking changes that left every VITEC plugin's JSON output silently empty: 1. `list_type` column dropped — all renderer page-discovery queries now filter by `CType = 'vitec_X'`. 2. `#[AsAllowedCallable]` attribute added to every public render() — without it v14 throws AllowedCallableException, which headless silently filters via its "Oops, an error occurred!" guard. 3. `$GLOBALS['TSFE']->id` is null inside JSON cObj context — page id now read from the `frontend.page.information` request attribute (TSFE fallback kept for legacy entry points). 4. page.tsconfig wizard items migrated to `CType = vitec_X` directly (legacy `CType=list, list_type=...` no longer exists in v14). 5. ContainerChildrenProcessor + ContentElementResolver dispatch the PLUGIN_RENDERERS map by CType (primary) with list_type fallback. Beyond the bug fix this commit also contains: - Datasheets renderer rewritten to "products with newest datasheet" semantics (filtered via Download.hideondatasheets). - New vitec/card content block — multi-purpose card with backend preview and layout/background/aspect/alignment/border/shadow options. - New vitec_container CType (b13 single-column container, FlexForm cssClass propagated into the JSON envelope). - ContentElementResolver service for contentelement/contentelementcta link resolution; ContainerChildrenProcessor for nested plugin resolution inside b13 containers. - Vitecset setup.typoscript: ContentElement import moved to top so lib.contentElement is defined before VITEC's tt_content blocks. - Cleanup: 98 .bak.<timestamp> debugging backups removed; *.bak.* and /public/_assets_install/ added to .gitignore.
0
packages/vitec/Classes/DataProcessing/.msys00000000000000004cda359073ead130
Normal file → Executable file
0
packages/vitec/Classes/DataProcessing/.msys00000000000000004dd18ef4cfaf2af9
Normal file → Executable file
0
packages/vitec/Classes/DataProcessing/ContainerChildrenProcessor.php
Normal file → Executable file
0
packages/vitec/Classes/Domain/Model/Product.php
Normal file → Executable file
0
packages/vitec/Classes/EventListener/ShowFrontendLayoutBanner.php
Normal file → Executable file
0
packages/vitec/Classes/Hook/SyncBackendLayoutHook.php
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys00000000000000002272de42bf87f8e5
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys0000000000000000274fb505bf117200
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys00000000000000002751b67b19a9c636
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys00000000000000002752b73c4a27d4ba
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys00000000000000002753b7f777b58735
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys00000000000000002753b7f978b2a67b
Normal file → Executable file
0
packages/vitec/Classes/Service/.msys0000000000000000284b115dd4770044
Normal file → Executable file
0
packages/vitec/Classes/Service/ContentElementResolver.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/DatasheetsJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/DownloadcardJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/DownloadcardcollectionJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/MarketShowJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/ProductListJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/ProductShowJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/SolutionShowJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/UsecaseListJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/UserFunc/UsecaseShowJsonRenderer.php
Normal file → Executable file
0
packages/vitec/Classes/View/BackendLayoutDataProvider.php
Normal file → Executable file
0
packages/vitec/Classes/View/VitecBackendLayoutView.php
Normal file → Executable file
0
packages/vitec/Configuration/FlexForms/Container.xml
Normal file → Executable file
0
packages/vitec/Configuration/Icons.php
Normal file → Executable file
0
packages/vitec/Configuration/Sets/Vitecset/config.yaml
Normal file → Executable file
0
packages/vitec/Configuration/Sets/Vitecset/setup.typoscript
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/pages.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_cols_25_25_25_25.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_cols_33_33_33.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_cols_33_66.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_cols_50_50.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_cols_66_33.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_container.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/Overrides/tt_content_vitec_shared.php
Normal file → Executable file
0
packages/vitec/Configuration/TCA/tx_vitec_domain_model_product.php
Normal file → Executable file
0
packages/vitec/Configuration/TypoScript/Headless/vitec_containers.typoscript
Normal file → Executable file
0
packages/vitec/Configuration/TypoScript/Headless/vitec_menus.typoscript
Normal file → Executable file
0
packages/vitec/ContentBlocks/ContentElements/card/assets/icon.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
0
packages/vitec/ContentBlocks/ContentElements/card/config.yaml
Normal file → Executable file
0
packages/vitec/ContentBlocks/ContentElements/card/language/labels.xlf
Normal file → Executable file
0
packages/vitec/ContentBlocks/ContentElements/card/templates/backend-preview.html
Normal file → Executable file
0
packages/vitec/ContentBlocks/ContentElements/card/templates/frontend.html
Normal file → Executable file
0
packages/vitec/Resources/Private/Language/locallang_containers.xlf
Normal file → Executable file
0
packages/vitec/Resources/Private/Language/locallang_pages.xlf
Normal file → Executable file
0
packages/vitec/Resources/Public/Icons/vitec-cols-25-25-25-25.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
0
packages/vitec/Resources/Public/Icons/vitec-cols-33-33-33.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 278 B |
0
packages/vitec/Resources/Public/Icons/vitec-cols-33-66.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
0
packages/vitec/Resources/Public/Icons/vitec-cols-50-50.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
0
packages/vitec/Resources/Public/Icons/vitec-cols-66-33.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
0
packages/vitec/Resources/Public/Icons/vitec-container.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 447 B |