-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.typoscript
More file actions
174 lines (150 loc) · 4.61 KB
/
setup.typoscript
File metadata and controls
174 lines (150 loc) · 4.61 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
config.pageTitleProviders {
in2studyfinder {
provider = In2code\In2studyfinder\PageTitle\CoursePageTitleProvider
before = record
}
}
plugin.tx_in2studyfinder {
view {
templateRootPaths.0 = {$plugin.tx_in2studyfinder.view.templateRootPath}
partialRootPaths.0 = {$plugin.tx_in2studyfinder.view.partialRootPath}
layoutRootPaths.0 = {$plugin.tx_in2studyfinder.view.layoutRootPath}
}
settings {
storagePid = {$plugin.tx_in2studyfinder.settings.storagePid}
settingsPid = {$plugin.tx_in2studyfinder.settings.settingsPid}
pagination {
itemsPerPage = {$plugin.tx_in2studyfinder.settings.pagination.itemsPerPage}
}
filters {
graduation {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\Graduation
propertyPath = academicDegree.graduation
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:graduation
}
typeOfStudy {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\TypeOfStudy
propertyPath = typesOfStudy
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:typeOfStudy
}
admissionRequirement {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\AdmissionRequirement
propertyPath = admissionRequirements
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:admissionRequirement
}
startOfStudy {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\StartOfStudy
propertyPath = startsOfStudy
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:startOfStudy
}
courseLanguage {
type = object
singleSelect = 1
objectModel = In2code\In2studyfinder\Domain\Model\CourseLanguage
propertyPath = courseLanguages
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:courseLanguage
}
faculty {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\Faculty
propertyPath = faculty
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:faculty
}
department {
type = object
singleSelect = 0
objectModel = In2code\In2studyfinder\Domain\Model\Department
propertyPath = department
frontendLabel = LLL:EXT:in2studyfinder/Resources/Private/Language/locallang.xlf:department
# disabledInFrontend = 1
}
# credits {
# type = boolean
# propertyPath = ectsCredits
# frontendLabel = FrontendLabel
# }
# courses {
# type = integer
# singleSelect = 0
# propertyPath = uid
# disabledInFrontend = 1
# frontendLabel = Studycourse
# }
}
backend {
pluginPreviewTemplate = {$plugin.tx_in2studyfinder.settings.backend.pluginPreviewTemplate}
export {
excludedPropertiesForExport {
0 = _localizedUid
1 = _languageUid
2 = _versionedUid
3 = globalDataPreset
4 = globalData
5 = contentElements
6 = pid
7 = uid
8 = deleted
9 = hidden
10 = sorting
11 = parent
}
includeDeleted = 0
includeHidden = 0
}
}
}
persistence {
storagePid = {$plugin.tx_in2studyfinder.persistence.storagePid}
recursive = {$plugin.tx_in2studyfinder.persistence.recursive}
}
}
# Module configuration
module.tx_in2studyfinder < plugin.tx_in2studyfinder
# Rendering of content elements in detail view
lib.tx_in2studyfinder.contentElementRendering = RECORDS
lib.tx_in2studyfinder.contentElementRendering {
tables = tt_content
source.current = 1
dontCheckPid = 1
}
############################
# Page type for ajax request
############################
in2studyfinderFilterAjax = PAGE
in2studyfinderFilterAjax {
typeNum = 1308171055
config {
additionalHeaders = Content-type:application/html
disableAllHeaderCode = 1
disablePrefixComment = 1
admPanel = 0
debug = 0
}
10 = USER_INT
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = In2studyfinder
pluginName = Pi1
vendorName = In2code
controller = StudyCourse
// the action is ignored at this point.
// It is possible to set an different action via an query argument
// see: https://forge.typo3.org/issues/88399#note-5
action = filter
features.requireCHashArgumentForActionArguments = 0
}
}
############################
# JavaScript and CSS section
############################
page.includeCSS.in2studyfinderCss = {$plugin.tx_in2studyfinder.settings.css.in2studyfinderCss}
page.includeJSFooterlibs.in2studyfinder = {$plugin.tx_in2studyfinder.settings.javascript.main}