- New Classes/Service/ContentElementResolver.php: parses TYPO3 typolink
(t3://record?identifier=tt_content&uid=N, t3://page?uid=P#N, plain numeric)
to a normalised tt_content envelope ({id,type,colPos,sorting,appearance,
data}), recursively resolving any nested VITEC list-plugin children.
- ProductListJsonRenderer / ProductShowJsonRenderer: contentelement and
contentelementcta now emit the resolved object instead of the raw
typolink string (breaking change at those two keys).
- Product model: new field videofile (FAL, single video upload in tab
Images and Videos, mp4/webm/ogv/mov/m4v); new bool field showdatapath
(toggle at end of General tab, controls the "Datapath is now Vitec"
graphic in the frontend). ext_tables.sql, TCA, model property +
getter/setter, and both renderers updated accordingly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
32 lines
1.0 KiB
PHP
32 lines
1.0 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;
|
|
|
|
return [
|
|
'vitec-cols-50-50' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-cols-50-50.svg',
|
|
],
|
|
'vitec-cols-33-33-33' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-cols-33-33-33.svg',
|
|
],
|
|
'vitec-cols-25-25-25-25' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-cols-25-25-25-25.svg',
|
|
],
|
|
'vitec-cols-66-33' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-cols-66-33.svg',
|
|
],
|
|
'vitec-cols-33-66' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-cols-33-66.svg',
|
|
],
|
|
'vitec-ogimage' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-ogimage.svg',
|
|
],
|
|
];
|