Documentation TYPO3 par Ameos |
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 if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('tools','isearch','after:log',t3lib_extMgm::extPath($_EXTKEY).'mod/'); 00006 00007 if (TYPO3_MODE=='BE') { 00008 t3lib_extMgm::insertModuleFunction( 00009 'web_info', 00010 'tx_indexedsearch_modfunc1', 00011 t3lib_extMgm::extPath($_EXTKEY).'modfunc1/class.tx_indexedsearch_modfunc1.php', 00012 'LLL:EXT:indexed_search/locallang.php:mod_indexed_search' 00013 ); 00014 } 00015 00016 if (TYPO3_MODE=="BE") { 00017 t3lib_extMgm::insertModuleFunction( 00018 "web_info", 00019 "tx_indexedsearch_modfunc2", 00020 t3lib_extMgm::extPath($_EXTKEY)."modfunc2/class.tx_indexedsearch_modfunc2.php", 00021 "LLL:EXT:indexed_search/locallang.php:mod2_indexed_search" 00022 ); 00023 } 00024 00025 t3lib_extMgm::allowTableOnStandardPages('index_config'); 00026 00027 /* 00028 $TCA['index_config'] = Array ( 00029 'ctrl' => Array ( 00030 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config', 00031 'label' => 'title', 00032 'tstamp' => 'tstamp', 00033 'crdate' => 'crdate', 00034 'cruser_id' => 'cruser_id', 00035 'type' => 'type', 00036 'default_sortby' => 'ORDER BY crdate', 00037 'enablecolumns' => Array ( 00038 'disabled' => 'hidden', 00039 'starttime' => 'starttime', 00040 ), 00041 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php', 00042 'iconfile' => 'default.gif', 00043 ), 00044 'feInterface' => Array ( 00045 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions', 00046 ) 00047 ); 00048 */ 00049 ?>