2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
4 t3lib_extMgm
::addPlugin(Array('LLL:EXT:indexed_search/locallang.php:mod_indexed_search', $_EXTKEY));
6 t3lib_div
::loadTCA('tt_content');
7 $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY] = 'layout,select_key,pages';
9 if (TYPO3_MODE
=='BE') {
10 t3lib_extMgm
::addModule('tools','isearch','after:log',t3lib_extMgm
::extPath($_EXTKEY).'mod/');
12 t3lib_extMgm
::insertModuleFunction(
14 'tx_indexedsearch_modfunc1',
15 t3lib_extMgm
::extPath($_EXTKEY).'modfunc1/class.tx_indexedsearch_modfunc1.php',
16 'LLL:EXT:indexed_search/locallang.php:mod_indexed_search'
18 t3lib_extMgm
::insertModuleFunction(
20 "tx_indexedsearch_modfunc2",
21 t3lib_extMgm
::extPath($_EXTKEY)."modfunc2/class.tx_indexedsearch_modfunc2.php",
22 "LLL:EXT:indexed_search/locallang.php:mod2_indexed_search"
26 t3lib_extMgm
::allowTableOnStandardPages('index_config');
27 t3lib_extMgm
::addLLrefForTCAdescr('index_config','EXT:indexed_search/locallang_csh_indexcfg.xml');
29 if (t3lib_extMgm
::isLoaded('crawler')) {
30 $TCA['index_config'] = Array (
32 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config',
36 'cruser_id' => 'cruser_id',
38 'default_sortby' => 'ORDER BY crdate',
39 'enablecolumns' => Array (
40 'disabled' => 'hidden',
41 'starttime' => 'starttime',
43 'dynamicConfigFile' => t3lib_extMgm
::extPath($_EXTKEY).'tca.php',
44 'iconfile' => 'default.gif',
46 'feInterface' => Array (
47 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions',
53 // Example of crawlerhook (see also ext_localconf.php!)
55 t3lib_div::loadTCA('index_config');
56 $TCA['index_config']['columns']['type']['config']['items'][] = Array('My Crawler hook!', 'tx_myext_example1');
57 $TCA['index_config']['types']['tx_myext_example1'] = $TCA['index_config']['types']['0'];