forked from ezsystems/ezplatform-demo
/
views.yml
166 lines (146 loc) · 7.06 KB
/
views.yml
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
ezpublish:
system:
site_group:
pagelayout: "@ezdesign/pagelayout.html.twig"
field_templates:
- {template: "@ezdesign/fields/eztags_field.html.twig", priority: 20}
user:
layout: "@ezdesign/pagelayout.html.twig"
login_template: "@ezdesign/user/login.html.twig"
user_registration:
templates:
form: "@ezdesign/user/registration_form.html.twig"
confirmation: "@ezdesign/user/registration_confirmation.html.twig"
content_view:
full:
home:
template: "@ezdesign/full/home.html.twig"
params:
place_list_location_id: '%app.home.place_list_location_id%'
tastes_location_id: '%app.home.tastes_location_id%'
match:
Id\Location: 2
Identifier\ContentType: [folder]
article:
template: "@ezdesign/full/article.html.twig"
match:
Identifier\ContentType: [article]
folder:
controller: "ez_query:contentQueryAction"
template: "@ezdesign/full/folder.html.twig"
match:
Identifier\ContentType: [folder]
params:
query:
query_type: "AppBundle:Children"
parameters:
parent_location_id: "@=location.id"
assign_results_to: children
place:
template: "@ezdesign/full/place.html.twig"
match:
Identifier\ContentType: [place]
place_list:
controller: "ez_query:contentQueryAction"
template: "@ezdesign/full/place_list.html.twig"
match:
Identifier\ContentType: [place_list]
params:
query:
query_type: "AppBundle:Children"
parameters:
parent_location_id: "@=location.id"
assign_results_to: places
blog:
controller: "ez_query:contentQueryAction"
template: "@ezdesign/full/blog.html.twig"
match:
Identifier\ContentType: [blog]
params:
query:
query_type: "AppBundle:Children"
parameters:
parent_location_id: "@=location.id"
assign_results_to: children
blog_post:
template: "@ezdesign/full/blog_post.html.twig"
match:
Identifier\ContentType: [blog_post]
subscribe:
controller: app.controller.contactform:showContactFormAction
template: "@ezdesign/full/subscribe.html.twig"
match:
Identifier\ContentType: [subscribe]
about:
template: "@ezdesign/full/about.html.twig"
match:
Identifier\ContentType: [about]
product:
template: "@ezdesign/full/product.html.twig"
match:
Identifier\ContentType: [product]
home:
place_list:
controller: 'ez_query:ContentQueryAction'
template: '@ezdesign/home/place_list.html.twig'
params:
query:
query_type: 'AppBundle:Children'
parameters:
limit: 3
parent_location_id: '%app.home.place_list_location_id%'
assign_results_to: places
match:
Identifier\ContentType: [place_list]
tastes:
controller: 'ez_query:ContentQueryAction'
template: '@ezdesign/home/tastes.html.twig'
params:
query:
query_type: 'AppBundle:Children'
parameters:
limit: 3
parent_location_id: '%app.home.tastes_location_id%'
assign_results_to: tastes
match:
Identifier\ContentType: [folder]
line:
blog_post:
template: "@ezdesign/line/blog_post.html.twig"
match:
Identifier\ContentType: [blog_post]
card:
article:
template: "@ezdesign/card/article.html.twig"
match:
Identifier\ContentType: [article]
place:
template: "@ezdesign/card/place.html.twig"
match:
Identifier\ContentType: [place]
featured:
article:
template: "@ezdesign/featured/article.html.twig"
match:
Identifier\ContentType: [article]
search_result_item:
article:
template: "@ezdesign/search_result_item/article.html.twig"
match:
Identifier\ContentType: [article]
place:
template: "@ezdesign/search_result_item/place.html.twig"
match:
Identifier\ContentType: [place]
product:
template: "@ezdesign/search_result_item/product.html.twig"
match:
Identifier\ContentType: [product]
blog_post:
template: "@ezdesign/search_result_item/default.html.twig"
match:
Identifier\ContentType: [blog_post]
default:
template: "@ezdesign/search_result_item/default.html.twig"
match:
Identifier\ContentType: [image, blog, folder, place_list, video, article, place, product, blog_post]