Improve template handling
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 12 Oct 2015 23:56:16 +0000 (23:56 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 12 Oct 2015 23:56:16 +0000 (23:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@89890 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Configuration/TypoScript/setup.txt

index fa75db1..dc3b1ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        * Add composer.json
        * Move static template registration to TCA overrides
        * Compatibility with TYPO3 CMS 7
+       * Improve template handling
        * Update verion to 2.3.0
 
 2015-03-31  Stanislas Rolland  <typo3@sjbr.ca>
index e043517..fa59f36 100644 (file)
@@ -32,9 +32,19 @@ plugin.tx_srfreecap {
                salutation = {$plugin.tx_srfreecap.salutation}
        }
        view {
-               templateRootPaths.0 = {$plugin.tx_srfreecap.view.templateRootPath}
-               partialRootPaths.0 = {$plugin.tx_srfreecap.view.partialRootPath}
-               layoutRootPaths.0 = {$plugin.tx_srfreecap.view.layoutRootPath}
+               templateRootPaths {
+                       0 = EXT:sr_freecap/Resources/Private/Templates/
+                       1 = {$plugin.tx_srfreecap.view.templateRootPath}
+               }
+               }
+               partialRootPaths {
+                       0 = EXT:sr_freecap/Resources/Private/Partials/
+                       1 = {$plugin.tx_srfreecap.view.partialRootPath}
+               }
+               layoutRootPaths {
+                       0 = EXT:sr_freecap/Resources/Private/Layouts/
+                       1 = {$plugin.tx_srfreecap.view.layoutRootPath}
+               }
        }
        _CSS_DEFAULT_STYLE (
                .tx-srfreecap-captcha label { display: inline-block; width: 150px; }