*** empty log message ***
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 t3lib_extMgm::addPItoST43($_EXTKEY);
5
6 t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','
7 tt_content.CSS_editor.ch.tx_indexedsearch = < plugin.tx_indexedsearch.CSS_editor
8 ',43);
9
10 // Attach to hooks:
11 $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'][] = 'EXT:indexed_search/class.indexer.php:tx_indexedsearch_indexer';
12 $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['headerNoCache']['tx_indexedsearch'] = 'EXT:indexed_search/class.indexer.php:&tx_indexedsearch_indexer->fe_headerNoCache';
13
14 // Register with "crawler" extension:
15 $TYPO3_CONF_VARS['EXTCONF']['crawler']['procInstructions']['tx_indexedsearch_reindex'] = 'Re-indexing';
16 $TYPO3_CONF_VARS['EXTCONF']['crawler']['cli_hooks']['tx_indexedsearch_crawl'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler';
17
18 // Register with TCEmain:
19 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_indexedsearch'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler';
20
21 // Configure default document parsers:
22 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['external_parsers'] = array(
23 'pdf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
24 'doc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
25 'pps' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
26 'ppt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
27 'xls' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
28 'sxc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
29 'sxi' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
30 'sxw' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
31 'rtf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
32 'txt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
33 'html' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
34 'htm' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
35 'csv' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
36 'xml' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
37 'jpg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
38 'jpeg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
39 'tif' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
40 );
41
42
43 // EXAMPLE configuration of hooks:
44 /*
45 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks'] = array (
46 'initialize_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
47 'getResultRows' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
48 'printResultRow' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
49 'prepareResultRowTemplateData_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
50 );
51 */
52
53 // EXAMPLE of adding fields to root line:
54 #$TYPO3_CONF_VARS['EXTCONF']['indexed_search']['addRootLineFields']['level3'] = 3;
55
56
57 // Example of crawlerhook (see also ext_tables.php!)
58 /*
59 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['crawler']['tx_myext_example1'] = 'EXT:indexed_search/example/class.crawlerhook.php:&tx_indexedsearch_crawlerhook';
60 */
61 ?>