Resolves #64520: Extract module configuration from static template
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 26 Jan 2015 19:42:36 +0000 (19:42 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 26 Jan 2015 19:42:36 +0000 (19:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@88279 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Configuration/FontMaker/setup.txt [new file with mode: 0644]
Configuration/TypoScript/setup.txt
ext_tables.php

index 690644a..93c6851 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Resolves #64517: CaptchaValidator::isValid should be protected
        * Resolves #64519: Validate annotation: class name TtfFileValidator should not start with backslash
+       * Resolves #64520: Extract module configuration from static template
 
 2014-09-22  Stanislas Rolland  <typo3@sjbr.ca>
 
diff --git a/Configuration/FontMaker/setup.txt b/Configuration/FontMaker/setup.txt
new file mode 100644 (file)
index 0000000..c3e22a2
--- /dev/null
@@ -0,0 +1,10 @@
+## Configuring the Font Maker backend module
+module.tx_srfreecap {
+       features.rewrittenPropertyMapper = 1
+       ## Paths for backend templates
+       view {
+               templateRootPath = EXT:sr_freecap/Resources/Private/Backend/Templates/
+               partialRootPath = EXT:sr_freecap/Resources/Private/Partials/
+               layoutRootPath = EXT:sr_freecap/Resources/Private/Backend/Layouts/
+       }
+}
index ff0b6bb..97cb863 100644 (file)
@@ -49,17 +49,6 @@ plugin.tx_srfreecap {
        )
 }
 
-## Configuring the Font Maker backend module
-module.tx_srfreecap {
-       features.rewrittenPropertyMapper = 1
-       ## Paths for backend templates
-       view {
-               templateRootPath = EXT:sr_freecap/Resources/Private/Backend/Templates/
-               partialRootPath = EXT:sr_freecap/Resources/Private/Partials/
-               layoutRootPath = EXT:sr_freecap/Resources/Private/Backend/Layouts/
-       }
-}
-
 ## Backward pi_base compatibility
 plugin.tx_srfreecap_pi2 {
        _CSS_DEFAULT_STYLE (
index 54c6a3d..57f195b 100644 (file)
@@ -32,7 +32,7 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                        )
                );
                // Add configuration setup
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/TypoScript/setup.txt">');
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/FontMaker/setup.txt">');
        }
 }
 ?>