From 406bcc94dcd19fcf967ae9673a62dd10a60b79b8 Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Mon, 21 Oct 2024 19:54:15 +0200 Subject: [PATCH] [TASK] Remove outdated version hints (#302) * [TASK] Remove outdated version hints * Update Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript --- Configuration/TypoScript/DataProcessors/General.typoscript | 7 +++---- .../Processors/CommaSeparatedValueProcessor.typoscript | 3 --- .../Processors/CustomCategoryProcessor.typoscript | 3 --- .../Processors/DatabaseQueryProcessor.typoscript | 3 --- .../DataProcessors/Processors/FilesProcessor.typoscript | 3 --- .../DataProcessors/Processors/GalleryProcessor.typoscript | 6 ------ .../Processors/LanguageMenuProcessor.typoscript | 3 --- .../DataProcessors/Processors/MenuProcessor.typoscript | 6 ------ .../Processors/SiteLanguageProcessor.typoscript | 3 --- .../DataProcessors/Processors/SiteProcessor.typoscript | 3 --- .../DataProcessors/Processors/SplitProcessor.typoscript | 3 --- 11 files changed, 3 insertions(+), 40 deletions(-) diff --git a/Configuration/TypoScript/DataProcessors/General.typoscript b/Configuration/TypoScript/DataProcessors/General.typoscript index b75c30e..f81d71c 100644 --- a/Configuration/TypoScript/DataProcessors/General.typoscript +++ b/Configuration/TypoScript/DataProcessors/General.typoscript @@ -1,6 +1,5 @@ - lib.contentElement { - templateRootPaths.200 = EXT:examples/Resources/Private/Templates/ContentElements/ - partialRootPaths.200 = EXT:examples/Resources/Private/Partials/ContentElements/ - layoutRootPaths.200 = EXT:examples/Resources/Private/Layout/ + templateRootPaths.200 = EXT:examples/Resources/Private/Templates/ContentElements/ + partialRootPaths.200 = EXT:examples/Resources/Private/Partials/ContentElements/ + layoutRootPaths.200 = EXT:examples/Resources/Private/Layout/ } diff --git a/Configuration/TypoScript/DataProcessors/Processors/CommaSeparatedValueProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/CommaSeparatedValueProcessor.typoscript index 5bf56e3..264102b 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/CommaSeparatedValueProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/CommaSeparatedValueProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_newcontentcsv =< lib.contentElement examples_newcontentcsv { templateName = DataProcCsv - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\CommaSeparatedValueProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = comma-separated-value dataProcessing.10 { if.isTrue.field = bodytext diff --git a/Configuration/TypoScript/DataProcessors/Processors/CustomCategoryProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/CustomCategoryProcessor.typoscript index d3c75f6..c3c2443 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/CustomCategoryProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/CustomCategoryProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataproccustom =< lib.contentElement examples_dataproccustom { templateName = DataProcCustom - # Before TYPO3 v12.1 you have to give the fully-qualified class name of the processor - # dataProcessing.10 = T3docs\Examples\DataProcessing\CustomCategoryProcessor - # Since TYPO3 v12.1 one can also use a (in Services.yaml) configured alias dataProcessing.10 = custom-category dataProcessing.10 { as = categories diff --git a/Configuration/TypoScript/DataProcessors/Processors/DatabaseQueryProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/DatabaseQueryProcessor.typoscript index 3ab91a0..438162f 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/DatabaseQueryProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/DatabaseQueryProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocdb =< lib.contentElement examples_dataprocdb { templateName = DataProcDb - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = database-query dataProcessing.10 { if.isTrue.field = pages diff --git a/Configuration/TypoScript/DataProcessors/Processors/FilesProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/FilesProcessor.typoscript index beaf7d1..861be24 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/FilesProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/FilesProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocfiles =< lib.contentElement examples_dataprocfiles { templateName = DataProcFiles - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = files dataProcessing.10 { as = images diff --git a/Configuration/TypoScript/DataProcessors/Processors/GalleryProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/GalleryProcessor.typoscript index 20c7050..850be6b 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/GalleryProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/GalleryProcessor.typoscript @@ -4,9 +4,6 @@ tt_content { templateName = DataProcGallery dataProcessing { # Process files - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor - # Since TYPO3 v12.1 one can also use the available alias 10 = files 10 { as = images @@ -17,9 +14,6 @@ tt_content { } # Calculate gallery info - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # 20 = TYPO3\CMS\Frontend\DataProcessing\GalleryProcessor - # Since TYPO3 v12.1 one can also use the available alias 20 = gallery 20 { filesProcessedDataKey = images diff --git a/Configuration/TypoScript/DataProcessors/Processors/LanguageMenuProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/LanguageMenuProcessor.typoscript index 4b83122..06fbfbb 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/LanguageMenuProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/LanguageMenuProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataproclang =< lib.contentElement examples_dataproclang { templateName = DataProcLangMenu - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\LanguageMenuProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = language-menu dataProcessing.10 { languages = auto diff --git a/Configuration/TypoScript/DataProcessors/Processors/MenuProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/MenuProcessor.typoscript index 333a70e..65a3891 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/MenuProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/MenuProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocmenu =< lib.contentElement examples_dataprocmenu { templateName = DataProcMenu - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = menu dataProcessing.10 { levels = 2 @@ -13,9 +10,6 @@ tt_content { includeSpacer = 1 titleField = nav_title // title dataProcessing { - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor - # Since TYPO3 v12.1 one can also use the available alias 10 = files 10 { references.fieldName = media diff --git a/Configuration/TypoScript/DataProcessors/Processors/SiteLanguageProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/SiteLanguageProcessor.typoscript index ce06586..bec4399 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/SiteLanguageProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/SiteLanguageProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocsitelanguage =< lib.contentElement examples_dataprocsitelanguage { templateName = DataProcSiteLanguage - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\SiteLanguageProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = site-language dataProcessing.10 { as = language diff --git a/Configuration/TypoScript/DataProcessors/Processors/SiteProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/SiteProcessor.typoscript index 298ed3c..f10acab 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/SiteProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/SiteProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocsite =< lib.contentElement examples_dataprocsite { templateName = DataProcSite - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\SiteProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = site dataProcessing.10 { as = site diff --git a/Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript b/Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript index 1799a92..7bbfbc6 100644 --- a/Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript +++ b/Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript @@ -2,9 +2,6 @@ tt_content { examples_dataprocsplit =< lib.contentElement examples_dataprocsplit { templateName = DataProcSplit - # Before TYPO3 v12.1 you have to specify the fully-qualified class name of the processor - # dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\SplitProcessor - # Since TYPO3 v12.1 one can also use the available alias dataProcessing.10 = split dataProcessing.10 { as = urlParts