Replace all TINYTEXT columns with VARCHAR(255) and change index "parent" of fe_user...
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 t3lib_extMgm::addPlugin(Array('LLL:EXT:indexed_search/locallang.php:mod_indexed_search', $_EXTKEY));
5
6 t3lib_div::loadTCA('tt_content');
7 $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY] = 'layout,select_key,pages';
8
9 if (TYPO3_MODE=='BE') {
10 t3lib_extMgm::addModule('tools','isearch','after:log',t3lib_extMgm::extPath($_EXTKEY).'mod/');
11
12 t3lib_extMgm::insertModuleFunction(
13 'web_info',
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'
17 );
18 t3lib_extMgm::insertModuleFunction(
19 "web_info",
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"
23 );
24 }
25
26 t3lib_extMgm::allowTableOnStandardPages('index_config');
27 t3lib_extMgm::addLLrefForTCAdescr('index_config','EXT:indexed_search/locallang_csh_indexcfg.xml');
28
29 if (t3lib_extMgm::isLoaded('crawler')) {
30 $TCA['index_config'] = Array (
31 'ctrl' => Array (
32 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config',
33 'label' => 'title',
34 'tstamp' => 'tstamp',
35 'crdate' => 'crdate',
36 'cruser_id' => 'cruser_id',
37 'type' => 'type',
38 'default_sortby' => 'ORDER BY crdate',
39 'enablecolumns' => Array (
40 'disabled' => 'hidden',
41 'starttime' => 'starttime',
42 ),
43 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
44 'iconfile' => 'default.gif',
45 ),
46 'feInterface' => Array (
47 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions',
48 )
49 );
50 }
51
52
53 // Example of crawlerhook (see also ext_localconf.php!)
54 /*
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'];
58 */
59 ?>