From ea661ce20c87fdcc9a0bf2fa3b2fba3f0aa50a99 Mon Sep 17 00:00:00 2001 From: EcoGabe <60153014+EcoGabe@users.noreply.github.com> Date: Tue, 10 Nov 2020 09:28:20 -0500 Subject: [PATCH 1/3] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8687dd1..1894228 100644 --- a/composer.json +++ b/composer.json @@ -17,8 +17,8 @@ } ], "require": { - "typo3/cms-core": "^8.7.0 || ^9.5.0", - "typo3/cms-form": "^8.7.0 || ^9.5.0", + "typo3/cms-core": "^8.7.0 || ^9.5.0 || ^10.4.0", + "typo3/cms-form": "^8.7.0 || ^9.5.0 || ^10.4.0", "php": ">=7.2.0 <7.4.99" }, "suggest": { From b6a1a591873915d6385e2618121a02a88ebfe8d1 Mon Sep 17 00:00:00 2001 From: Gabe Troyan Date: Tue, 26 Sep 2023 15:43:18 -0400 Subject: [PATCH 2/3] Remove obsolete mixin and update dependency vers --- .../Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml | 4 ++-- composer.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml b/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml index b70e4ab..ee1ce2f 100644 --- a/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml +++ b/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml @@ -23,7 +23,7 @@ TYPO3: 1576505658: identifier: 'SaveRepeatableToDatabase' editors: - __inheritances: - 10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin' 100: + identifier: header + templateName: Inspector-CollectionElementHeaderEditor label: 'Save repeatable into database' diff --git a/composer.json b/composer.json index 31e1898..40ec80f 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ } ], "require": { - "typo3/cms-core": "^8.7.0 || ^9.5.0 || ^10.4.0", - "typo3/cms-form": "^8.7.0 || ^9.5.0 || ^10.4.0", - "php": ">=7.2.0 <7.4.99" + "typo3/cms-core": "^8.7.0 || ^9.5.0 || ^10.4.0 || ^11.5.0", + "typo3/cms-form": "^8.7.0 || ^9.5.0 || ^10.4.0 || ^11.5.0", + "php": ">=7.2.0 <7.4.99 || >8.0.0" }, "suggest": { "tritum/repeatable-form-elements": "You may want the repeatable container from TRITUM" From 0a77b652766342c8b15f2dff6a2f0096754be8ba Mon Sep 17 00:00:00 2001 From: Gabe Troyan Date: Wed, 27 Sep 2023 10:43:15 -0400 Subject: [PATCH 3/3] Restore removeButton and icon; Include form engine setup in module settings to allow saving the form --- .../Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml | 5 ++++- ext_typoscript_setup.typoscript | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml b/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml index ee1ce2f..28a7f37 100644 --- a/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml +++ b/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml @@ -7,7 +7,7 @@ TYPO3: SaveRepeatableToDatabase: formEditor: label: 'Save repeatable into database' - iconIdentifier: 't3-form-icon-finisher' + iconIdentifier: form-finisher formElementsDefinition: Form: formEditor: @@ -27,3 +27,6 @@ TYPO3: identifier: header templateName: Inspector-CollectionElementHeaderEditor label: 'Save repeatable into database' + 9999: + identifier: removeButton + templateName: Inspector-RemoveElementEditor diff --git a/ext_typoscript_setup.typoscript b/ext_typoscript_setup.typoscript index eeee850..f84e930 100644 --- a/ext_typoscript_setup.typoscript +++ b/ext_typoscript_setup.typoscript @@ -1,6 +1,7 @@ // The configurations in the registered file are meant for the Form Editor module. module.tx_form.settings.yamlConfigurations { 234 = EXT:em_form_repeatablesave/Configuration/Yaml/SaveRepeatableToDatabaseFormEditorSetup.yaml + 235 = EXT:em_form_repeatablesave/Configuration/Yaml/SaveRepeatableToDatabaseFormEngineSetup.yaml } // The configurations in the registered file are meant for the frontend plugin