-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
44 lines (36 loc) · 1.2 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
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'CIC.' . $_EXTKEY,
'EventsListing',
array(
'Event' => 'list, detail'),
// non-cacheable actions
array('Event' => 'list')
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'CIC.' . $_EXTKEY,
'EventsAdmin',
array(
'Event' => 'new, create, edit, update, delete'),
// non-cacheable actions
array('Event' => 'new, create, update, delete')
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'CIC.' . $_EXTKEY,
'EventsCalendar',
array('Event' => 'calendar, detail'),
// non-cacheable actions
array('Event' => '')
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['CIC\Cicevents\Task\EventArchiver'] = array(
'extension' => $_EXTKEY,
'title' => 'Event Archiver',
'description' => 'This task will archive expired events according to configurations set in typoscript. Events
can be deleted, hidden, or removed. For each method, you can determine whether an event is
archived based on its type or categories. See the class comments for more information on the
typoscript.',
);
?>