-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.typoscript
More file actions
139 lines (112 loc) · 4.48 KB
/
setup.typoscript
File metadata and controls
139 lines (112 loc) · 4.48 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
plugin.tx_formule {
view {
templateRootPaths {
10 = {$plugin.tx_formule.view.templateRootPath}
}
partialRootPaths {
10 = {$plugin.tx_formule.view.partialRootPath}
}
layoutRootPaths {
10 = {$plugin.tx_formule.view.layoutRootPath}
}
}
settings {
templates {
1 {
title = LLL:EXT:formule/Resources/Private/Language/locallang.xlf:contact.form
path = EXT:formule/Resources/Private/Standalone/ContactForm.html
validators {
0 = Fab\Formule\Validator\EmailFormatValidator
}
# Load custom assets
#asset {
#
# 0 {
# path = EXT:formule/Resources/Public/Build/StyleSheets/formule.css
# type = css
#
# # Optional key if loading assets through EXT:vhs.
# dependencies = mainCss
# }
#
# 1 {
# path = EXT:formule/Resources/Public/Build/JavaScript/formule.js
# type = js
#
# # Optional key if loading assets through EXT:vhs.
# dependencies = mainJs
# }
#}
}
2 {
title = LLL:EXT:formule/Resources/Private/Language/locallang.xlf:newsletter.new
path = EXT:formule/Resources/Private/Standalone/Newsletter/SubscriptionNew.html
validators {
0 = Fab\Formule\Validator\EmailUniqueValidator
1 = Fab\Formule\Validator\EmailFormatValidator
}
# Variable to be used across the template.
variable {
preferencesPageUid = 1
}
# Persist configuration
persist {
tableName = fe_users
identifierField = token
defaultValues {
pid = 1
disable = 1
}
processors {
0 = Fab\Formule\Processor\UserDataProcessor
# Processor example to handle file upload.
# ProTip: you can integrate <fo:message.upload/> in your HTML template.
# 1 = Fab\Formule\Processor\PdfUploadProcessor
# Processor example to flush cache on certain pages after a database change.
# 2 = Fab\Formule\Processor\CacheHandler
}
mappings {
# Left value corresponds to name in the form: name="firstName"
# Right value corresponds to field name: fe_users.first_name
#first_name = first_name
}
}
}
3 {
title = LLL:EXT:formule/Resources/Private/Language/locallang.xlf:newsletter.edit
path = EXT:formule/Resources/Private/Standalone/Newsletter/SubscriptionEdit.html
loaders {
0 = Fab\Formule\Loader\UserDataLoader
}
validators {
0 = Fab\Formule\Validator\EmailUniqueValidator
1 = Fab\Formule\Validator\EmailFormatValidator
2 = Fab\Formule\Validator\NameValidator
}
# Persist configuration
persist {
tableName = fe_users
processors {
0 = Fab\Formule\Processor\UserDataProcessor
}
}
redirect {
action = show
}
}
}
defaultMappings {
fe_users {
# Left value corresponds to name in the form: name="firstName"
# Right value corresponds to field name: fe_users.first_name
#firstName = first_name
}
}
loadAssetWithVhsIfAvailable = 1
excludedFieldsFromTemplateParsing = values
# Tell how to encode email body by default, could be "text" or "html"
# If set "html", email will be multiparted.
# If set "text", email will be plain text only.
preferEmailBodyEncoding = html
}
}