forked from featdd/dpn_glossary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
executable file
·86 lines (80 loc) · 2.17 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
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Dpn.' . $_EXTKEY,
'Glossarylist',
array(
'Term' => 'list'
),
// non-cacheable actions
array(
'Term' => ''
)
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Dpn.' . $_EXTKEY,
'Glossarydetail',
array(
'Term' => 'show'
),
// non-cacheable actions
array(
'Term' => ''
)
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][] = 'Dpn\DpnGlossary\Service\WrapperService->contentParser';
if (TRUE === is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'])) {
if (FALSE === is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars'])) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars'] = array();
}
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars'] += array(
$_EXTKEY . '_list_RealUrlConfig' => array(
array(
'GETvar' => 'tx_dpnglossary_glossarylist[controller]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_dpnglossary_glossarylist[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_dpnglossary_glossarylist[@widget_0][character]'
),
),
$_EXTKEY . '_detail_RealUrlConfig' => array(
array(
'GETvar' => 'tx_dpnglossary_glossarydetail[controller]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_dpnglossary_glossarydetail[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_dpnglossary_glossarydetail[term]',
'lookUpTable' => array(
'table' => 'tx_dpnglossary_domain_model_term',
'id_field' => 'uid',
'alias_field' => 'name',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 180
),
),
array(
'GETvar' => 'tx_dpnglossary_glossarydetail[pageUid]'
),
),
);
}