[TASK] BE: Make "Template Analyzer" the last menu item 94/26894/2
authorBenjamin Mack <benni@typo3.org>
Fri, 17 Jan 2014 09:40:42 +0000 (10:40 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Fri, 17 Jan 2014 09:55:57 +0000 (10:55 +0100)
During the refactoring of the tstemplate extension, the
Template Analyzer modfunc was inserted at first position
of the backend module menu. AFAIK this was a
functionality that was not desired, and confuses
existing integrators.

Releases: 6.2
Resolves: #55097
Change-Id: I153cf3076e6c31b95fa8d40996ffbf9192c48f74
Reviewed-on: https://review.typo3.org/26894
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/tstemplate/ext_tables.php

index 42208a0..b60b91b 100644 (file)
@@ -13,13 +13,6 @@ if (TYPO3_MODE === 'BE') {
                $extensionPath . 'ts/'
        );
 
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
-               'web_ts',
-               'TYPO3\\CMS\\TsTemplate\\Controller\\TemplateAnalyzerModuleFunctionController',
-               $extensionPath . 'Classes/Controller/TemplateAnalyzerModuleFunctionController.php',
-               'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
-       );
-
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
                'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController',
@@ -41,4 +34,11 @@ if (TYPO3_MODE === 'BE') {
                'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
        );
 
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+               'web_ts',
+               'TYPO3\\CMS\\TsTemplate\\Controller\\TemplateAnalyzerModuleFunctionController',
+               $extensionPath . 'Classes/Controller/TemplateAnalyzerModuleFunctionController.php',
+               'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
+       );
+
 }