'teaser', ], [ 'Offer' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'OfferDetail', [ 'Offer' => 'detail', ], [ 'Offer' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'OfferList', [ 'Offer' => 'list', ], [ 'Offer' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'Testimonials', [ 'Testimonial' => 'list', ], [ 'Testimonial' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'Contacts', [ 'Contact' => 'list', ], [ 'Contact' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'ActivityTeasers', [ 'Activity' => 'list', ], [ 'Activity' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'ActivityDetail', [ 'Activity' => 'detail', ], [ 'Activity' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'InquiryForm', [ 'Form' => 'inquiryForm', ], [ 'Form' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'ContactForm', [ 'Form' => 'contactForm', ], [ 'Form' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'SearchForm', [ 'Search' => 'form', ], [ 'Search' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'SearchResult', [ 'Search' => 'result', ], [ 'Search' => 'result', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'Configurator', [ 'Form' => 'configurator', ], [ 'Form' => 'configurator', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'EP.EpEvents', 'Ajax', [ 'AjaxForm' => 'processInquiryForm, processConfiguratorForm', 'AjaxOffer' => 'list', ], [ 'AjaxForm' => 'processInquiryForm, processConfiguratorForm', 'AjaxOffer' => 'list', ] ); $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-events'] = 'EXT:ep_events/Configuration/RTE/Default.yaml'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['EP.EpEvents'] = \EP\EpEvents\Hooks\Tcemain::class; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'search'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'ref'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[travelType]'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[locationType]'; $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] .= ',tx_epevents_traveltype,tx_epevents_offer'; $GLOBALS['TYPO3_CONF_VARS']['LOG']['EP']['EpEvents']['Controller']['writerConfiguration'] = [ \TYPO3\CMS\Core\Log\LogLevel::INFO => [ \EP\EpProducts\Log\Writer::class => [ 'logTable' => 'tx_epevents_log' ], ], ]; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['activitySlug'] = \EP\EpEvents\Updates\ActivitySlugUpdater::class; $extensionConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class)->get('ep_events'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptConstants(implode(PHP_EOL, [ '# cat=plugin.tx_epevents//a; type=string; label=Configurator budget options', 'plugin.tx_epevents.settings.configurator.budgetOptions = ' . $extensionConfiguration['budgetOptions'], '# cat=plugin.tx_epevents//a; type=string; label=Configurator pax options', 'plugin.tx_epevents.settings.configurator.paxOptions = ' . $extensionConfiguration['paxOptions'], '# cat=plugin.tx_epevents//a; type=string; label=Configurator period options', 'plugin.tx_epevents.settings.configurator.periodOptions = ' . $extensionConfiguration['periodOptions'] ])); $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'gclid'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'ref'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[travelType]'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[locationType]'; $GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][800] = 'EXT:ep_events/Resources/Private/Templates/Email/'; });