使用 PyroCMS 时可以进行多语言导航吗?
我正在运行版本 1.3.2,直到最近它还是最新版本。我不知道这在 2.0.0 中是否有所改变,但无论如何我都不会升级我的项目,所以这并不重要。
我想要多语言导航,但链接的唯一字段是 Title
。 PyroCMS 对此提供支持吗?
I'm running version 1.3.2 which was until very recently the most recent version. I don't know if this has changed in 2.0.0 but I won't be upgrading my project anyway so it doesn't really matter.
I'd like to have a multilingual navigation but the only field I have for the link is Title
. Does PyroCMS offer support for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 1.3 中没有任何经验,但您可能想在组属性中搜索它。
只需为每种语言创建一个组,然后使用 Lex 标签执行类似的操作(基于 2.0 版本标签条件的示例):
现在在管理->设计导航页面添加名为“dutch_header”、“german_header”、“spanish_header”和“english_header”的导航组。
现在只需向所有四个组添加一个导航菜单,每种语言都有自己的导航。
我希望这就是您正在寻找的 ;) GL
I don't have any experience in 1.3, but you might want to search it in your group attribute..
Just create a group for each language and do something like this with the Lex tags (example based on 2.0 version tag conditionals):
Now in the admin -> design navigationpage add navigation groups named "dutch_header", "german_header", "spanish_header" and "english_header".
Now just add a navigation menu to all four of the groups and each language has its own navigation.
I hope this is what you were looking for ;) GL