Initial commit
This commit is contained in:
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3_MODE') or die();
|
||||
|
||||
call_user_func(function() {
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'OfferTeasers',
|
||||
[
|
||||
'Offer' => 'teaser',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'OfferDetail',
|
||||
[
|
||||
'Offer' => 'detail',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'Testimonials',
|
||||
[
|
||||
'Testimonial' => 'list',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'Contacts',
|
||||
[
|
||||
'Contact' => 'list',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'ActivityTeasers',
|
||||
[
|
||||
'Activity' => 'list',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'ActivityDetail',
|
||||
[
|
||||
'Activity' => 'detail',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'InquiryForm',
|
||||
[
|
||||
'Form' => 'inquiryForm',
|
||||
],
|
||||
[
|
||||
'Form' => 'inquiryForm',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'ContactForm',
|
||||
[
|
||||
'Form' => 'contactForm',
|
||||
],
|
||||
[
|
||||
'Form' => 'contactForm',
|
||||
]
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'EP.EpEvents',
|
||||
'SearchForm',
|
||||
[
|
||||
'Search' => 'form',
|
||||
],
|
||||
[
|
||||
'Search' => 'form',
|
||||
]
|
||||
);
|
||||
|
||||
\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',
|
||||
],
|
||||
[
|
||||
'AjaxForm' => 'processInquiryForm, processConfiguratorForm',
|
||||
]
|
||||
);
|
||||
|
||||
$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']['LOG']['EP']['EpEvents']['Controller']['writerConfiguration'] = [
|
||||
\TYPO3\CMS\Core\Log\LogLevel::INFO => [
|
||||
'TYPO3\\CMS\\Core\\Log\\Writer\\DatabaseWriter' => [
|
||||
'logTable' => 'tx_epevents_log'
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user