forked from ezsystems/ezplatform-demo
/
ezplatform.yml
183 lines (174 loc) · 6.75 KB
/
ezplatform.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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
imports:
- { resource: image_variations.yml }
- { resource: views.yml }
- { resource: fields/ezrichtext/custom_tags.yml }
ezpublish:
# HttpCache settings, By default 'local' (Symfony HttpCache Proxy), by setting it to 'http' you can point it to Varnish
http_cache:
purge_type: '%purge_type%'
# Repositories configuration, setup default repository to support solr if enabled
repositories:
default:
storage: ~
search:
engine: '%search_engine%'
connection: default
# Siteaccess configuration, with one siteaccess per default
siteaccess:
list:
- site
- admin
- fr
- de
- no
groups:
site_group:
- site
- fr
- de
- no
# WARNING: Do not remove or rename this group.
# It's used to distinguish common siteaccesses from admin ones.
# In case of multisite with multiple admin panels, remember to add any additional admin siteaccess to this group.
admin_group: [admin]
default_siteaccess: site
match:
URIElement: 1
# System settings, grouped by siteaccess and/or siteaccess group
system:
site_group:
# Cache pool service, needs to be different per repository (database) on multi repository install.
cache_service_name: '%cache_pool%'
# These reflect the current installers, complete installation before you change them. For changing var_dir
# it is recommended to install clean, then change setting before you start adding binary content, otherwise you'll
# need to manually modify your database data to reflect this to avoid exceptions.
var_dir: var/site
content:
# As we by default enable EzSystemsPlatformHttpCacheBundle which is designed to expire all affected cache
# on changes, and as error / redirects now have separate ttl, we easier allow ttl to be greatly increased
default_ttl: '%httpcache_default_ttl%'
# HttpCache purge server(s) setting, eg Varnish, for when ezpublish.http_cache.purge_type is set to 'http'.
http_cache:
purge_servers: ['%purge_server%']
design: main
# WARNING: Do not remove or rename this group.
admin_group:
cache_service_name: '%cache_pool%'
var_dir: var/site
languages:
- eng-GB
- fre-FR
- ger-DE
- nor-NO
content:
default_ttl: '%httpcache_default_ttl%'
http_cache:
purge_servers: ['%purge_server%']
design: admin
site:
cache_service_name: '%cache_pool%'
languages:
- eng-GB
- fre-FR
- ger-DE
- nor-NO
fr:
cache_service_name: '%cache_pool%'
languages:
- fre-FR
- eng-GB
de:
cache_service_name: '%cache_pool%'
languages:
- ger-DE
- eng-GB
no:
cache_service_name: '%cache_pool%'
languages:
- nor-NO
- eng-GB
url_alias:
slug_converter:
transformation: 'urlalias_lowercase'
ezdesign:
design_list:
main: [tastefulplanet]
admin: [admin, tastefulplanet]
ez_platform_standard_design:
# makes Kernel default templates (in EzPublishCoreBundle/Resources/views) part of standard Design
override_kernel_templates: true
assetic:
assets:
css_default:
inputs:
- 'assets/css/tastefulplanet.css'
- 'assets/css/header.css'
- 'assets/css/footer.css'
- 'assets/css/home.css'
- 'assets/css/article.css'
- 'assets/css/folder.css'
- 'assets/css/place.css'
- 'assets/css/place_list.css'
- 'assets/css/product.css'
- 'assets/css/product_list.css'
- 'assets/css/blog.css'
- 'assets/css/blog_post.css'
- 'assets/css/subscribe.css'
- 'assets/css/tags.css'
nova_ezseo:
system:
default:
#custom_fallback_service: ezstudiodemo.seo.fallback
default_links:
Index:
href: { location_id: 2 }
title: "Home"
# Search:
# href: { route: "ezpublish_ezstudiodemo_search" }
# title: "Search"
# "Shortcut icon":
# href: { asset: "/bundles/ezstudiodemo/images/favicon.ico" }
# type: "image/x-icon"
default_metas:
author: "eZ Systems"
copyright: "eZ Systems"
generator: "eZ Platform"
MSSmartTagsPreventParsing: ~
fieldtype_metas:
title:
label: "Title"
default_pattern: "<title|short_title|name>"
description:
label: "Description"
default_pattern: "<description|short_description|intro|title|name>"
keywords:
label: "Keywords"
default_pattern: "<tags>"
canonical:
label: "External Canonical URL"
default_pattern: ~
icon: "link"
"og:title":
label: "Facebook - Title"
default_pattern: "<title|short_title|name>"
icon: "facebook-official"
"og:description":
label: "Facebook - Description"
default_pattern: "<short_description|description|intro|title|name>"
icon: "facebook-official"
"og:image":
label: "Facebook - Image"
default_pattern: "<image|picture>"
icon: "facebook-official"
"twitter:title":
label: "Twitter - Title"
default_pattern: "<title|short_title|name>"
icon: "twitter-square"
"twitter:description":
label: "Twitter - Description"
default_pattern: "<short_description|description|intro|title|name>"
icon: "twitter-square"
"twitter:image":
label: "Twitter - Image"
default_pattern: "<image|picture>"
icon: "twitter-square"