Formular-Infrastruktur: Contact/Demo/Helpdesk mit E-Mail- und Salesforce-Delivery, JSON-Renderer-Erweiterungen, Crop-Variants

Build-Artefakte in public/_frontend/assets nicht enthalten.
This commit is contained in:
orasche committed 2026-07-30 13:12:45 +02:00
1 parent eae40f4286
commit a739dd8fe3
51 files changed
+1598 -303

No files matched your search

@@ -38,6 +38,37 @@ use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
// Locations: lives in the "VITEC" wizard group, titled "VITEC Locations".
$GLOBALS['TCA']['tt_content']['columns']['CType']['config']['itemGroups']['vitec']
= 'LLL:EXT:vitec/Resources/Private/Language/locallang_containers.xlf:group.header';
// VITEC Forms — own wizard tab for the three form plugins.
$GLOBALS['TCA']['tt_content']['columns']['CType']['config']['itemGroups']['vitec_forms']
= 'VITEC Forms';
ExtensionUtility::registerPlugin(
'Vitec',
'Contactform',
'VITEC Contact Form',
'vitec-plugin-contactform',
'vitec_forms',
'Contact form — email or Salesforce delivery.',
'FILE:EXT:vitec/Configuration/FlexForms/Contactform.xml'
);
ExtensionUtility::registerPlugin(
'Vitec',
'Demoform',
'VITEC Request Demo',
'vitec-plugin-demoform',
'vitec_forms',
'Demo request form — email or Salesforce delivery.',
'FILE:EXT:vitec/Configuration/FlexForms/Demoform.xml'
);
ExtensionUtility::registerPlugin(
'Vitec',
'Helpdeskform',
'VITEC HelpDesk Access',
'vitec-plugin-helpdeskform',
'vitec_forms',
'Request access to the online helpdesk — email or Salesforce delivery.',
'FILE:EXT:vitec/Configuration/FlexForms/Helpdeskform.xml'
);
ExtensionUtility::registerPlugin(
'Vitec',
'Modelcard',
@@ -164,6 +164,11 @@ return [
'foreign_selector' => 'uid_local',
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => \Evomedien\Vitec\Tca\CropVariants::firstImage(),
],
],
'uid_local' => [
'config' => [
'appearance' => [
@@ -443,6 +443,15 @@ return [
'foreign_match_fields' => [
'fieldname' => 'productimage',
],
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => \Evomedien\Vitec\Tca\CropVariants::firstImage(),
],
],
],
],
'appearance' => [
'collapseAll' => true,
'levelLinksPosition' => 'top',
@@ -164,6 +164,11 @@ return [
'foreign_selector' => 'uid_local',
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => \Evomedien\Vitec\Tca\CropVariants::firstImage(),
],
],
'uid_local' => [
'config' => [
'appearance' => [
@@ -117,7 +117,21 @@ return [
// --------------------------------------------------------- List view
'card_image' => [
'label' => 'Card Image',
'config' => ['type' => 'file', 'maxitems' => 1, 'allowed' => 'common-image-types'],
'config' => [
'type' => 'file',
'maxitems' => 1,
'allowed' => 'common-image-types',
// Zusatz-Zuschnitte fuer Card-/Large-Card-Darstellung (freier Crop bleibt moeglich).
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => \Evomedien\Vitec\Tca\CropVariants::firstImage(),
],
],
],
],
],
],
'customer_logo' => [
'label' => 'Customer Logo',
@@ -0,0 +1,41 @@
<?php
return [
'ctrl' => [
'title' => 'VITEC Form Submission',
'label' => 'form_key',
'label_alt' => 'delivery_status',
'label_alt_force' => true,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'default_sortby' => 'crdate DESC',
'rootLevel' => 1,
'readOnly' => true,
'iconfile' => 'EXT:vitec/Resources/Public/Icons/vitec-plugin-contactform.svg',
'security' => ['ignorePageTypeRestriction' => true],
],
'types' => [
'1' => ['showitem' => 'form_key, delivery_method, delivery_status, delivery_error, payload'],
],
'columns' => [
'form_key' => [
'label' => 'Form',
'config' => ['type' => 'input', 'readOnly' => true],
],
'payload' => [
'label' => 'Data (JSON)',
'config' => ['type' => 'text', 'rows' => 12, 'readOnly' => true],
],
'delivery_method' => [
'label' => 'Delivery',
'config' => ['type' => 'input', 'readOnly' => true],
],
'delivery_status' => [
'label' => 'Status',
'config' => ['type' => 'input', 'readOnly' => true],
],
'delivery_error' => [
'label' => 'Delivery Error',
'config' => ['type' => 'text', 'rows' => 3, 'readOnly' => true],
],
],
];