Drupal Views 如何在具有相同路径的多个显示器之间做出决定
我需要针对不同角色有不同的视图。但是,我不知道当客户满足该视图的所有显示要求时会发生什么。她会看到哪个显示屏?
I need to have a Views that is different for different roles. But, I don't know what will happen when a customer meets the requirements for all the displays for that View. Which display will she see?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您指的是视图中的显示:每个视图显示都有一个位置,并且显示会根据该位置以升序加载。因此,如果您创建一个页面显示(可能会获得位置 2,因为默认显示的位置通常为 1),然后创建另一个页面显示之后,下一个页面显示可能会获得一个位置3. 客户将面临其首先到达的位置(2,前提是他们已满足标准)。
如果您指的是视图本身:视图将按照视图 ID (vid) 的顺序加载。客户将看到第一个加载的内容。
If you're referring to the display within the views: each view display has a position and the displays are loaded according to that position in an ascending sort. So if you create a page display (which may get a position of 2 since the Default display typically has a position of 1) and then create another page display after that, the next page display may get a position of 3. The customer will be exposed to the position it reaches first (2, provided that they have met the criteria).
If you're referring to the views themselves: views are loaded in order of their view id (vid). The customer will be exposed to the first one loaded.