forked from in2code-de/luxletter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
38 lines (34 loc) · 1.07 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
call_user_func(
function () {
/**
* Include Frontend Plugins
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2code.luxletter',
'Fe',
[
'Frontend' => 'unsubscribe,preview,trackingPixel'
],
[
'Frontend' => 'unsubscribe,preview,trackingPixel'
]
);
/**
* Fluid Namespace
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['luxletter'][] = 'In2code\Luxletter\ViewHelpers';
/**
* Add an absRefPrefix for FluidStyledMailContent (but absRefPrefix will be overruled by site configuration)
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'luxletterFluidStyledMailContent',
'setup',
'fluidStyledMailContent.config.absRefPrefix = '
. \In2code\Luxletter\Utility\ConfigurationUtility::getDomain() . '/'
);
}
);