forked from cs2ag/powermail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
73 lines (65 loc) · 2.11 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
64
65
66
67
68
69
70
71
72
73
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
/**
* Enable caching for show action in form controller
*/
$uncachedFormActions = 'form';
if (\In2code\Powermail\Utility\ConfigurationUtility::isEnableCachingActive()) {
$uncachedFormActions = '';
}
$uncachedFormActions .= ', create, confirmation, optinConfirm, marketing';
/**
* Include Frontend Plugins for Powermail
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2code.' . $_EXTKEY,
'Pi1',
array(
'Form' => 'form, create, confirmation, optinConfirm, marketing'
),
array(
'Form' => $uncachedFormActions
)
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2code.' . $_EXTKEY,
'Pi2',
array(
'Output' => 'list, show, edit, update, export, rss, delete'
),
array(
'Output' => 'list, edit, update, export, rss, delete'
)
);
/**
* Hook to show PluginInfo
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['list_type_Info'][$_EXTKEY . '_pi1'][$_EXTKEY] =
'EXT:' . $_EXTKEY . '/Classes/Utility/Hook/PluginInformation.php:In2code\Powermail\Utility\Hook\PluginInformation->build';
/**
* Hook for first fill of marker field in backend
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] =
'EXT:' . $_EXTKEY . '/Classes/Utility/Hook/InitialMarker.php:In2code\Powermail\Utility\Hook\InitialMarker';
/**
* JavaScript evaluation of TCA fields
*/
$TYPO3_CONF_VARS['SC_OPTIONS']['tce']['formevals']['\In2code\Powermail\Utility\Tca\EvaluateEmail'] =
'EXT:powermail/Classes/Utility/Tca/EvaluateEmail.php';
/**
* eID to get location from geo coordinates
*/
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['powermailEidGetLocation'] =
'EXT:powermail/Classes/Utility/Eid/GetLocationEid.php';
/**
* eID to store marketing information
*/
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['powermailEidMarketing'] =
'EXT:powermail/Classes/Utility/Eid/MarketingEid.php';
/**
* CommandController for powermail tasks
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] =
'In2code\\Powermail\\Command\\TaskCommandController';