0
我无法成功获取翻译后的网站访问权限。我有最新稳定的ezplatform的干净安装,我只有默认的内容类型“文件夹”和“文章”。我有根位置后的一个内容对象和在英语和德语(其中新的语言代码ger-DE
这是我在一个超基本ezplatform.yml尝试上述对象:eZ平台站点访问翻译不能按预期方式工作
siteaccess:
list:
- site
- de
- en
groups:
site_group:
- site
- de
- en
default_siteaccess: de
match:
URIElement: 1
# System settings, grouped by siteaccess and/or siteaccess group
system:
site_group:
api_keys: { google_maps: "uhuhuhuhuhuhuhuhuhuuuuuuuuu" }
cache_pool_name: '%cache_pool%'
var_dir: var/site
de:
languages: [ger-DE, eng-GB]
en:
languages: [eng-GB]
default:
content:
tree_root:
location_id: 54
excluded_uri_prefixes: [ /media, /images ]
image_variations:
list:
reference: null
filters:
- { name: geometry/scalewidth, params: [260] }
articleimage:
reference: null
filters:
- { name: geometry/scalewidth, params: [770] }
session:
name: pzbsession
cookie_lifetime: 86400
cookie_secure: false
cookie_httponly: true
user:
layout: pagelayout.html.twig
content_view:
full:
root_folder:
template: "full/home_page.html.twig"
match:
Identifier\ContentType: "home_page"
我火了服务器本地与服务器启动命令,我可以通过以下网址访问示例对象:http://localhost:8000/sdc 我可以通过http://localhost:8000/de_site访问新的站点访问,它看起来像访问站点访问,因为没有404被抛出 但是..无论我做它总是重定向到http://localhost:8000/de_site/login,而不是击中实际的内容树和内容覆盖类型'文章'
在我的yml配置尝试中是否存在明显的错误,或者是否还有一些我必须做的工作?
ahh好的,谢谢我现在就试试 – John