简体   繁体   English

Neos 2.1:动态着陆页

[英]Neos 2.1: Dynamic Landingpage

I want to create dynamic landingpages in neos. 我想在neos中创建动态登陆页面。 I thought best the way to do it is to create a shortcut und place some landingpages as children. 我认为最好的方法是创建一个快捷方式,然后将一些登录页面作为儿童放置。 Now the shortcut should select one of them. 现在,快捷方式应选择其中之一。 Here is the problem part. 这是问题部分。 How can I tell Neos which child it should show. 我如何告诉Neos应该显示哪个孩子。

I thought I can write a custom NodeShortcutResolver and a custom Shortcut Node. 我以为可以编写自定义NodeShortcutResolver和自定义快捷方式节点。 but I dont know how to tell neos to use the custom NodeShortcutResolver. 但我不知道如何告诉Neos使用自定义NodeShortcutResolver。

Hope you can help or give some suggestions to solve it otherwise. 希望您能提供帮助或提出建议以其他方式解决该问题。

If you want to deliver multiple versions of your landingpage depending on some constraints (language, country, usergroup or whatever), use a dimension. 如果您要根据某些限制(语言,国家/地区,用户组或其他条件)提供目标网页的多个版本,请使用尺寸。 A dimension don't have to be a translation but you can combine a "language" dimension and a "myLandingPageDimensions" dimension. 维度不必是翻译,但您可以将“语言”维度和“ myLandingPageDimensions”维度组合在一起。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM