[BUGFIX] Correctly register indexed_search extbase plugin 84/41884/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 23 Jul 2015 13:37:51 +0000 (15:37 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 23 Jul 2015 17:47:24 +0000 (19:47 +0200)
Releases: master
Resolves: #68491
Change-Id: Iadd1bf6e0559e18a79e28c72efb91cb708e0dabe
Reviewed-on: http://review.typo3.org/41884
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/indexed_search/ext_localconf.php

index 5a1cff8..01f5cd7 100644 (file)
@@ -11,7 +11,7 @@ $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['indexed_
 
 // Registers "new" extbase based FE plugin and hide layout, select_key, pages and recursive fields in BE
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
-       'indexed_search',
+       'TYPO3.CMS.IndexedSearch',
        'Pi2',
        'Indexed Search (experimental)'
 );
index 608b0e5..a0e9aa9 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 defined('TYPO3_MODE') or die();
 
+// register pibase plugin
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
        'indexed_search',
        'setup',
@@ -10,6 +11,7 @@ plugin.tx_indexedsearch.userFunc = ' . \TYPO3\CMS\IndexedSearch\Controller\Searc
        ')
 );
 
+// add default rendering for pibase plugin
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
        'indexed_search',
        'setup',
@@ -17,7 +19,9 @@ plugin.tx_indexedsearch.userFunc = ' . \TYPO3\CMS\IndexedSearch\Controller\Searc
        'defaultContentRendering'
 );
 
-\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('TYPO3.CMS.indexed_search', 'Pi2', array('Search' => 'form,search'), array('Search' => 'form,search'));
+// register extbase plugin
+\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('TYPO3.CMS.IndexedSearch', 'Pi2', array('Search' => 'form,search'), array('Search' => 'form,search'));
+
 // Attach to hooks:
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'][] = \TYPO3\CMS\IndexedSearch\Indexer::class;
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['headerNoCache']['tx_indexedsearch'] = \TYPO3\CMS\IndexedSearch\Hook\TypoScriptFrontendHook::class . '->headerNoCache';