【问题标题】:Entity reference node contents实体引用节点内容
【发布时间】:2013-04-06 05:13:09
【问题描述】:

我有两种内容类型 content-type1 和 content-type2。 我在 content-type2 中使用了 content-type1 作为实体引用。

我在 content-type2 中有 50 个内容的列表,在 contetn-type2 中有 5 个内容。 现在从 content-type1 开始,每 10 个内容指的是 contet-type2 的不同节点。 现在在 content-type2 的所有 5 个节点上,我想创建一个视图块,它应该显示引用该特定节点的 10 个内容的列表。

任何人都可以帮助我如何为这种行为使用上下文过滤器或关系?

【问题讨论】:

  • 如果您的解释在字段和节点方面更清晰一些,将会很有帮助。很难说出你在问什么。

标签: drupal-7 drupal-views


【解决方案1】:

您需要在视图中创建 content-type1 的上下文引用,并将结果限制为该内容类型。

【讨论】:

    猜你喜欢
    • 2019-11-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-14
    • 2020-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多