[FOLLOWUP][TASK] Rewrite backend modules of indexed_search 94/37794/4
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 12 Mar 2015 16:52:32 +0000 (17:52 +0100)
committerFrank Nägler <typo3@naegler.net>
Thu, 12 Mar 2015 17:51:46 +0000 (18:51 +0100)
During some rebase of the indexed search backend module patch
http://review.typo3.org/32708

The code for new content element wizard was removed.
This patch adds it back.
It also removes superflous registration of typoscript.

Resolves: #34298
Relates: #61511
Releases: master
Change-Id: Ib9c95a0635670748b3da4c010590566f4c45694e
Reviewed-on: http://review.typo3.org/37794
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/indexed_search/ext_tables.php

index 4a7c045..152c5a1 100644 (file)
@@ -18,10 +18,10 @@ if (TYPO3_MODE === 'BE') {
                        'labels' => 'LLL:EXT:indexed_search/mod/locallang_mod.xlf',
                )
        );
-}
-
 
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'IndexedSearch');
+       $GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['tx_indexed_search_pi_wizicon'] =
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi/class.tx_indexed_search_pi_wizicon.php';
+}
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xlf');