-
Notifications
You must be signed in to change notification settings - Fork 26
/
ext_localconf.php
63 lines (56 loc) · 2.03 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
declare(strict_types=1);
defined('TYPO3') || die();
/**
* Include Frontend Plugins
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Luxletter',
'Fe',
[\In2code\Luxletter\Controller\FrontendController::class => 'unsubscribe'],
[\In2code\Luxletter\Controller\FrontendController::class => 'unsubscribe'],
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Luxletter',
'Unsubscribe2',
[\In2code\Luxletter\Controller\FrontendController::class => 'unsubscribe2,unsubscribe2Update'],
[\In2code\Luxletter\Controller\FrontendController::class => 'unsubscribe2,unsubscribe2Update'],
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Luxletter',
'Preview',
[\In2code\Luxletter\Controller\FrontendController::class => 'preview'],
[\In2code\Luxletter\Controller\FrontendController::class => 'preview'],
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Luxletter',
'TrackingPixel',
[\In2code\Luxletter\Controller\FrontendController::class => 'trackingPixel'],
[\In2code\Luxletter\Controller\FrontendController::class => 'trackingPixel'],
);
/**
* Fluid Namespace
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['luxletter'][] = 'In2code\Luxletter\ViewHelpers';
/**
* Update Wizards
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['luxletterReceiversUpdateWizard']
= \In2code\Luxletter\Update\LuxletterReceiversUpdateWizard::class;
/**
* Add TypoScript automatically (to use it in backend modules)
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'Luxletter',
'setup',
'@import "EXT:luxletter/Configuration/TypoScript/Basic/setup.typoscript"'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'Luxletter',
'constants',
'@import "EXT:luxletter/Configuration/TypoScript/Basic/constants.typoscript"'
);
/**
* CacheHash: Add LUX paramters to excluded variables
*/
\In2code\Luxletter\Utility\CacheHashUtility::addArgumentsToExcludedVariables();