-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.example.full.yaml
More file actions
58 lines (56 loc) · 1.83 KB
/
config.example.full.yaml
File metadata and controls
58 lines (56 loc) · 1.83 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
shortNr:
_default:
# support page id or hard-coded URI (detects it via is_numeric)
notFound: "/"
languageParentField: "l10n_parent" # default TYPO3 field name
languageField: "sys_language_uid" # needed for language overlay if omitted or empty = no overlay
identifierField: "uid" # needed for language overlay if omitted or empty = no overlay
pages: # default page
type: page
table: pages
pattern: "PAGE{uid:int(min=1)}(-{sys_language_uid:int(min=0,default=0)})"
condition: # static conditions, dynamic conditions are in the pattern
is_event:
contains: "test2"
not:
eq: 1
contains: "test"
#not: 1 # is_event not 1 (is_event != 1)
score:
gte: 50 # gte = greater than equal (score >= 5) (also supports gt)
ranking:
lt: 30 # lt = lower than (ranking < 30) (also supports lte)
status: [ "active", "pending" ] # implicit IN
name:
contains: "test"
lastName:
not:
contains: "test"
version:
not:
ends: '-rc'
starts: 'v'
street:
ends: 'road'
surname:
isset: true # any name is ok as long the variable exists
email:
match: "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$" # regex
age:
not:
between: [ 18, 65 ] # shorthand for >= 18 AND <= 65
blocked_users:
not: [ "spam", "bot" ] # opposite of implicit IN
myNews1:
type: plugin
table: tx_news_domain_model_news
pattern: "NEWS{uid:int(min=1)}(-{sys_language_uid:int(min=0,default=0)})"
condition: # full access to all possible conditions
type: 0
plugin: # plugin is mandatory for type plugin
extension: News
plugin: Pi1
pid: 123
action: detail
controller: News
objectName: news