-
Notifications
You must be signed in to change notification settings - Fork 4
/
ext_localconf.php
52 lines (48 loc) · 1.52 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'AgoraTeam.' . $_EXTKEY,
'Forum',
array(
'Forum' => 'list',
'Thread' => 'list, delete, edit, update, new, create',
'Post' => 'list, show, showHistory, delete, edit, update, new, create',
'User' => 'addObservedThread, removeObservedThread, addFavoritePost, removeFavoritePost',
'Attachment' => 'download'
),
array(
'Forum' => 'list',
'Thread' => 'list, delete, edit, update, new, create',
'Post' => 'list, show, showHistory, delete, edit, update, new, create',
'User' => 'addObservedThread, removeObservedThread, addFavoritePost, removeFavoritePost',
'Attachment' => 'download',
)
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'AgoraTeam.' . $_EXTKEY,
'Widgets',
array(
'Post' => 'listLatest',
'Thread' => 'listLatest',
'User' => 'favoritePosts, observedThreads, removeObservedThread, removeFavoritePost'
),
array(
'Post' => 'listLatest',
'Thread' => 'listLatest',
'User' => 'favoritePosts, observedThreads, removeObservedThread, removeFavoritePost'
)
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'AgoraTeam.' . $_EXTKEY,
'Forumpages',
array(
'User' => 'removeObservedThread, listObservedThreads',
),
array(
'User' => 'removeObservedThread, listObservedThreads',
)
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] =
'EXT:agora/Classes/Hooks/Tcemain.php:\AgoraTeam\Agora\Hooks\Tcemain';