"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/indexed_search/ext_localconf.php Source File", "datetime" => "Sat Dec 2 19:22:27 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 t3lib_extMgm::addPItoST43($_EXTKEY); 00005 00006 t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg',' 00007 tt_content.CSS_editor.ch.tx_indexedsearch = < plugin.tx_indexedsearch.CSS_editor 00008 ',43); 00009 00010 // Attach to hooks: 00011 $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'][] = 'EXT:indexed_search/class.indexer.php:tx_indexedsearch_indexer'; 00012 $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['headerNoCache']['tx_indexedsearch'] = 'EXT:indexed_search/class.indexer.php:&tx_indexedsearch_indexer->fe_headerNoCache'; 00013 00014 // Register with "crawler" extension: 00015 $TYPO3_CONF_VARS['EXTCONF']['crawler']['procInstructions']['tx_indexedsearch_reindex'] = 'Re-indexing'; 00016 $TYPO3_CONF_VARS['EXTCONF']['crawler']['cli_hooks']['tx_indexedsearch_crawl'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler'; 00017 00018 // Register with TCEmain: 00019 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_indexedsearch'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler'; 00020 00021 // Configure default document parsers: 00022 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['external_parsers'] = array( 00023 'pdf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00024 'doc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00025 'pps' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00026 'ppt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00027 'xls' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00028 'sxc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00029 'sxi' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00030 'sxw' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00031 'ods' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00032 'odp' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00033 'odt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00034 'rtf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00035 'txt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00036 'html' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00037 'htm' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00038 'csv' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00039 'xml' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00040 'jpg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00041 'jpeg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00042 'tif' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse', 00043 ); 00044 00045 00046 // EXAMPLE configuration of hooks: 00047 /* 00048 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks'] = array ( 00049 'initialize_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook', 00050 'getResultRows' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook', 00051 'printResultRow' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook', 00052 'prepareResultRowTemplateData_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook', 00053 ); 00054 */ 00055 00056 // EXAMPLE of adding fields to root line: 00057 #$TYPO3_CONF_VARS['EXTCONF']['indexed_search']['addRootLineFields']['level3'] = 3; 00058 00059 00060 // Example of crawlerhook (see also ext_tables.php!) 00061 /* 00062 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['crawler']['tx_myext_example1'] = 'EXT:indexed_search/example/class.crawlerhook.php:&tx_indexedsearch_crawlerhook'; 00063 */ 00064 ?>