00001 <?php
00002 if (!defined ('TYPO3_MODE')) die ('Access denied.');
00003
00004 t3lib_extMgm::addPlugin(Array('LLL:EXT:indexed_search/locallang.php:mod_indexed_search', $_EXTKEY));
00005
00006 t3lib_div::loadTCA('tt_content');
00007 $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY] = 'layout,select_key,pages';
00008
00009 if (TYPO3_MODE=='BE') {
00010 t3lib_extMgm::addModule('tools','isearch','after:log',t3lib_extMgm::extPath($_EXTKEY).'mod/');
00011
00012 t3lib_extMgm::insertModuleFunction(
00013 'web_info',
00014 'tx_indexedsearch_modfunc1',
00015 t3lib_extMgm::extPath($_EXTKEY).'modfunc1/class.tx_indexedsearch_modfunc1.php',
00016 'LLL:EXT:indexed_search/locallang.php:mod_indexed_search'
00017 );
00018 t3lib_extMgm::insertModuleFunction(
00019 "web_info",
00020 "tx_indexedsearch_modfunc2",
00021 t3lib_extMgm::extPath($_EXTKEY)."modfunc2/class.tx_indexedsearch_modfunc2.php",
00022 "LLL:EXT:indexed_search/locallang.php:mod2_indexed_search"
00023 );
00024 }
00025
00026 t3lib_extMgm::allowTableOnStandardPages('index_config');
00027 t3lib_extMgm::addLLrefForTCAdescr('index_config','EXT:indexed_search/locallang_csh_indexcfg.xml');
00028
00029 if (t3lib_extMgm::isLoaded('crawler')) {
00030 $TCA['index_config'] = Array (
00031 'ctrl' => Array (
00032 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config',
00033 'label' => 'title',
00034 'tstamp' => 'tstamp',
00035 'crdate' => 'crdate',
00036 'cruser_id' => 'cruser_id',
00037 'type' => 'type',
00038 'default_sortby' => 'ORDER BY crdate',
00039 'enablecolumns' => Array (
00040 'disabled' => 'hidden',
00041 'starttime' => 'starttime',
00042 ),
00043 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
00044 'iconfile' => 'default.gif',
00045 ),
00046 'feInterface' => Array (
00047 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions',
00048 )
00049 );
00050 }
00051
00052
00053
00054
00055
00056
00057
00058
00059 ?>