-
Notifications
You must be signed in to change notification settings - Fork 2
/
ext_localconf.php
executable file
·53 lines (46 loc) · 1.22 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
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Discussion',
array(
'Discussion' => 'index,write,report,post,show,edit,delete,forget,authorize,edit',
),
array(
'Discussion' => 'index,write,report,post,show,edit,delete,forget,authorize,edit',
)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Chat',
array(
'Chat' => 'index,say,setName',
),
array(
'Chat' => 'say,setName',
)
);
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', "
[GLOBAL]
DialogChat = PAGE
DialogChat {
typeNum = 1326130203
config {
no_cache = 1
disableAllHeaderCode = 1
}
headerData >
1326130203 = USER_INT
1326130203 {
userFunc = tx_extbase_core_bootstrap->run
extensionName = Dialog
pluginName = Chat
}
}
");
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Tx_Notify_Extraction']['tx_dialog_domain_model_thread'] = 'Tx_Dialog_Extraction_ThreadExtractor';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Tx_Notify_Extraction']['tx_dialog_domain_model_discussion'] = 'Tx_Dialog_Extraction_DiscussionExtractor';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Tx_Notify_Extraction']['tx_dialog_domain_model_post'] = 'Tx_Dialog_Extraction_PostExtractor';
?>