forked from cabservicesag/powermail_optin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
18 lines (13 loc) · 1.18 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
// Use hook in submit.php before db => saving and sending emails
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_SubmitBeforeMarkerHook'][] = 'EXT:powermail_optin/lib/class.tx_powermail_optin_submit.php:tx_powermail_optin_submit';
// Use hook in submit.php last one => changing thx message
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_SubmitLastOne'][] = 'EXT:powermail_optin/lib/class.tx_powermail_optin_submit.php:tx_powermail_optin_submit';
// Use hook in pi1.php for confirmation class
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_MainContentHookAfter'][] = 'EXT:powermail_optin/lib/class.tx_powermail_optin_confirm.php:tx_powermail_optin_confirm';
// Use hook in pi1.php for set session values
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_MainContentHookBefore'][] = 'EXT:powermail_optin/lib/class.tx_powermail_optin_session.php:tx_powermail_optin_session';
// Use hook to disable extern db log (enable only in last loop)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_SubmitLastOne'][] = 'EXT:powermail_optin/lib/class.tx_powermail_optin_externdbentry.php:tx_powermail_optin_externdbentry';
?>