[TASK] Use root paths for fluid templates in indexed_search 18/45118/3
authorDaniel Goerz <ervaude@gmail.com>
Thu, 3 Dec 2015 22:23:52 +0000 (23:23 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Sat, 5 Dec 2015 14:29:09 +0000 (15:29 +0100)
The extbase/fluid plugin of indexed search still uses the deprecated
rootPath for templates, partials and layouts. This patch adjusts the
typoscript to use rootPaths.

Change-Id: I7fc164d3ef14aaa1674f3f7940e2cd921a0a9216
Resolves: #72051
Releases: master
Reviewed-on: https://review.typo3.org/45118
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/indexed_search/Configuration/TypoScript/constants.txt
typo3/sysext/indexed_search/Configuration/TypoScript/setup.txt

index 9844ea0..38a3e28 100644 (file)
@@ -1,10 +1,10 @@
 plugin.tx_indexedsearch {
        view {
                 # cat=plugin.tx_indexedsearch/file; type=string; label=Path to template root (FE)
-               templateRootPath = EXT:indexed_search/Resources/Private/Templates/
+               templateRootPath =
                 # cat=plugin.tx_indexedsearch/file; type=string; label=Path to template partials (FE)
-               partialRootPath = EXT:indexed_search/Resources/Private/Partials/
+               partialRootPath =
                 # cat=plugin.tx_indexedsearch/file; type=string; label=Path to template layouts (FE)
-               layoutRootPath = EXT:indexed_search/Resources/Private/Layouts/
+               layoutRootPath =
        }
-}
\ No newline at end of file
+}
index 00e78ae..30270be 100644 (file)
@@ -110,9 +110,18 @@ plugin.tx_indexedsearch {
 
 
        view {
-               templateRootPath = {$plugin.tx_indexedsearch.view.templateRootPath}
-               partialRootPath = {$plugin.tx_indexedsearch.view.partialRootPath}
-               layoutRootPath = {$plugin.tx_indexedsearch.view.layoutRootPath}
+               templateRootPaths {
+                       0 = EXT:indexed_search/Resources/Private/Templates/
+                       10 = {$plugin.tx_indexedsearch.view.templateRootPath}
+               }
+               partialRootPaths {
+                       0 = EXT:indexed_search/Resources/Private/Partials/
+                       10 = {$plugin.tx_indexedsearch.view.partialRootPath}
+               }
+               layoutRootPaths {
+                       0 = EXT:indexed_search/Resources/Private/Layouts/
+                       10 = {$plugin.tx_indexedsearch.view.layoutRootPath}
+               }
        }
 
 }