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 $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']['processCmdmapClass']['tx_indexedsearch'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler';
00020 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_indexedsearch'] = 'EXT:indexed_search/class.crawler.php:&tx_indexedsearch_crawler';
00021 
00022         // Configure default document parsers:
00023 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['external_parsers'] = array(
00024         'pdf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00025         'doc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00026         'pps' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00027         'ppt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00028         'xls' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00029         'sxc' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00030         'sxi' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00031         'sxw' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00032         'ods' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00033         'odp' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00034         'odt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00035         'rtf' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00036         'txt' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00037         'html' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00038         'htm' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00039         'csv' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00040         'xml' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00041         'jpg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00042         'jpeg' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00043         'tif' => 'EXT:indexed_search/class.external_parser.php:&tx_indexed_search_extparse',
00044 );
00045 
00046 
00047         // EXAMPLE configuration of hooks:
00048 /*
00049 $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks'] = array (
00050         'initialize_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00051         'getResultRows' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00052         'printResultRow' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00053         'prepareResultRowTemplateData_postProc' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',
00054 );
00055 */
00056 
00057         // EXAMPLE of adding fields to root line:
00058 #$TYPO3_CONF_VARS['EXTCONF']['indexed_search']['addRootLineFields']['level3'] = 3;
00059 
00060 
00061         // Example of crawlerhook (see also ext_tables.php!)
00062 /*
00063         $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['crawler']['tx_myext_example1'] = 'EXT:indexed_search/example/class.crawlerhook.php:&tx_indexedsearch_crawlerhook';
00064 */
00065 ?>


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