Hooks in tslib_fe, Frontend login mode feature for pages; various other things. see...
[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
17 // Configure default document parsers:
18 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['external_parsers'] = array(
19 'pdf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
20 'doc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
21 'pps' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
22 'ppt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
23 'xls' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
24 'sxc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
25 'sxi' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
26 'sxw' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
27 'rtf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
28 'txt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
29 'html' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
30 'htm' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
31 'csv' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
32 'xml' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
33 'jpg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
34 'jpeg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
35 'tif' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
36 );
37
38
39 // EXAMPLE configuration of hooks:
40 /*
41 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks'] = array (
42 'initialize_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
43 'getResultRows' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
44 'printResultRow' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
45 'prepareResultRowTemplateData_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
46 );
47 */
48
49 // EXAMPLE of adding fields to root line:
50 #$TYPO3_CONF_VARS['EXTCONF']['indexed_search']['addRootLineFields']['level3'] = 3;
51
52 ?>