drupal 广告视图按 Nodequeue 关系排序
我有一个按分类查看列表广告的广告类型,但我需要按 Nodequeue 对它们进行排序,但我在“关系”区域中看不到它。任何地方都有这方面的黑客吗? Drupal 堆栈交换不允许我为这个问题添加急需的标签。所以我把它发布在这里。
I have a Advertisement type of View listing Ads by taxonomy but I need to order them by Nodequeue and I don't see it available in the Relationships area. Is there a hack for this anywhere?
Drupal stack exchange won't let me add the much needed tags for this question. So I'm posting it here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要告诉视图有从广告到节点的关系(Ad:Aid)。为此,请转到“关系”并添加基于“广告:援助”的关系。然后,您将在“字段”下看到所有可用的“节点”字段,例如“标题”和“正文”。然后添加另一个关系“(Node) Nodequeue: Queue”。
You need to tell the view to have a relation from Advertisement to Node (Ad: Aid). Do this by going to Relationships and adding a relationship based upon "Ad: Aid". You'll then see under Fields all of the Node fields such as Title and Body available. Then add another relationship "(Node) Nodequeue: Queue".