Documentation TYPO3 par Ameos

ext_localconf.php

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 
00017         // Configure default document parsers:
00018 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['external_parsers'] = array(
00019         'pdf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00020         'doc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00021         'pps' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00022         'ppt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00023         'xls' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00024         'sxc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00025         'sxi' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00026         'sxw' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00027         'rtf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00028         'txt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00029         'html' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00030         'htm' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00031         'csv' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00032         'xml' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00033         'jpg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00034         'jpeg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00035         'tif' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00036 );
00037 
00038 
00039         // EXAMPLE configuration of hooks:
00040 /*
00041 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks'] = array (
00042         'initialize_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00043         'getResultRows' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00044         'printResultRow' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00045         'prepareResultRowTemplateData_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00046 );
00047 */
00048 
00049         // EXAMPLE of adding fields to root line:
00050 #$TYPO3_CONF_VARS['EXTCONF']['indexed_search']['addRootLineFields']['level3'] = 3;
00051 
00052 ?>


Généré par L'expert TYPO3 avec  doxygen 1.4.6