From ee44ea35c3e228749ffb4acfb35175775ff4aa18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Wed, 4 Jan 2023 16:51:11 +0100 Subject: [PATCH] [BUGFIX] Use plural in the TypoScript template settings (#685) --- Configuration/TypoScript/constants.typoscript | 9 --------- Configuration/TypoScript/setup.typoscript | 14 +++++++++++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Configuration/TypoScript/constants.typoscript b/Configuration/TypoScript/constants.typoscript index 3a47a07..b50d011 100644 --- a/Configuration/TypoScript/constants.typoscript +++ b/Configuration/TypoScript/constants.typoscript @@ -1,13 +1,4 @@ plugin.tx_tea { - view { - # cat=plugin.tx_tea/file; type=string; label=Path to template root (FE) - templateRootPath = EXT:tea/Resources/Private/Templates/ - # cat=plugin.tx_tea/file; type=string; label=Path to template partials (FE) - partialRootPath = EXT:tea/Resources/Private/Partials/ - # cat=plugin.tx_tea/file; type=string; label=Path to template layouts (FE) - layoutRootPath = EXT:tea/Resources/Private/Layouts/ - } - persistence { # cat=plugin.tx_tea//a; type=string; label=Default storage PID storagePid = diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index b66ee67..4de562a 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -1,8 +1,16 @@ plugin.tx_tea { view { - templateRootPath = {$plugin.tx_tea.view.templateRootPath} - partialRootPath = {$plugin.tx_tea.view.partialRootPath} - layoutRootPath = {$plugin.tx_tea.view.layoutRootPath} + templateRootPaths { + 0 = EXT:tea/Resources/Private/Templates/ + } + + partialRootPaths { + 0 = EXT:tea/Resources/Private/Partials/ + } + + layoutRootPaths { + 0 = EXT:tea/Resources/Private/Layouts/ + } } persistence {