[TASK] Improve default template path for FSC 27/44327/2
authorMarkus Klein <markus.klein@typo3.org>
Wed, 28 Oct 2015 08:45:08 +0000 (09:45 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 28 Oct 2015 17:27:41 +0000 (18:27 +0100)
Resolves: #71088
Releases: master
Change-Id: Id6304e6ee95b0681a8f2050ddcd2f6dd0d0995e8
Reviewed-on: https://review.typo3.org/44327
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.fluidContent.ts
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/constants.txt
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/setup.txt

index 5ba9938..fd83ac3 100644 (file)
@@ -4,12 +4,15 @@ lib.fluidContent = FLUIDTEMPLATE
 lib.fluidContent {
        templateName = Default
        templateRootPaths {
+               0 = EXT:fluid_styled_content/Resources/Private/Templates/Content/
                10 = {$styles.templates.templateRootPath}
        }
        partialRootPaths {
+               0 = EXT:fluid_styled_content/Resources/Private/Partials/
                10 = {$styles.templates.partialRootPath}
        }
        layoutRootPaths {
+               0 = EXT:fluid_styled_content/Resources/Private/Layouts/
                10 = {$styles.templates.layoutRootPath}
        }
        settings {
index 099c161..5e1d1fa 100644 (file)
@@ -1,10 +1,10 @@
 styles.templates {
-       # cat=content/templates/b1; type=string; label= Default fallback path of Fluid Templates for all defined content elements
-       templateRootPath = EXT:fluid_styled_content/Resources/Private/Templates/Content/
-       # cat=content/templates/b2; type=string; label= Default fallback path of Fluid Partials for all defined content elements
-       partialRootPath = EXT:fluid_styled_content/Resources/Private/Partials/
-       # cat=content/templates/b3; type=string; label= Default fallback path of Fluid Layouts for all defined content elements
-       layoutRootPath = EXT:fluid_styled_content/Resources/Private/Layouts/
+       # cat=content/templates/b1; type=string; label= Path of Fluid Templates for all defined content elements
+       templateRootPath =
+       # cat=content/templates/b2; type=string; label= Path of Fluid Partials for all defined content elements
+       partialRootPath =
+       # cat=content/templates/b3; type=string; label= Path of Fluid Layouts for all defined content elements
+       layoutRootPath =
 }
 
 styles.content {
index 9e8e0f8..04b478c 100644 (file)
@@ -1,7 +1,7 @@
-<INCLUDE_TYPOSCRIPT: source="FILE: EXT:fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.parseFunc.ts">
-<INCLUDE_TYPOSCRIPT: source="FILE: EXT:fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.fluidContent.ts">
-<INCLUDE_TYPOSCRIPT: source="FILE: EXT:fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.stdheader.ts">
-<INCLUDE_TYPOSCRIPT: source="FILE: EXT:fluid_styled_content/Configuration/TypoScript/Static/Setup/styles.content.get.ts">
+<INCLUDE_TYPOSCRIPT: source="FILE:./Setup/lib.parseFunc.ts">
+<INCLUDE_TYPOSCRIPT: source="FILE:./Setup/lib.fluidContent.ts">
+<INCLUDE_TYPOSCRIPT: source="FILE:./Setup/lib.stdheader.ts">
+<INCLUDE_TYPOSCRIPT: source="FILE:./Setup/styles.content.get.ts">
 
 tt_content = CASE
 tt_content {