forked from in2code-de/femanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_typoscript_setup.txt
70 lines (64 loc) · 1.52 KB
/
ext_typoscript_setup.txt
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
# Mapping
config.tx_extbase {
persistence {
classes {
In2code\Femanager\Domain\Model\User {
mapping {
tableName = fe_users
recordType =
columns {
tx_femanager_terms.mapOnProperty = terms
tx_femanager_terms_date_of_acceptance.mapOnProperty = termsDateOfAcceptance
}
}
}
In2code\Femanager\Domain\Model\UserGroup {
mapping {
tableName = fe_groups
recordType =
}
}
}
}
objects {
# Disable tx_extbase_type=xyz in where clause (fe_users, fe_groups)
TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap.className = In2code\Femanager\Persistence\Generic\Mapper\DataMap
}
}
# Backend Module
module.tx_femanager {
view {
templateRootPath = EXT:femanager/Resources/Private/Templates/
partialRootPath = EXT:femanager/Resources/Private/Partials/
layoutRootPath = EXT:femanager/Resources/Private/Layouts/
}
settings {
configPID = 1
}
}
##################################################
# Page for backend module Login as function via JS
##################################################
feManagerLoginAs = PAGE
feManagerLoginAs {
typeNum = 1548943013
config {
no_cache = 1
#disableAllHeaderCode = 1
#disablePrefixComment = 1
xhtml_cleaning = 0
admPanel = 0
debug = 0
}
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = Femanager
pluginName = Pi1
vendorName = In2code
controller = User
action = loginAs
switchableControllerActions.User.1 = loginAs
features.requireCHashArgumentForActionArguments = 0
}
}