Drupal 7 分类术语节点按权重排序
我创建了名为“价格”的内容类型并定义了名为“重量”的字段。我还创建了“分类术语参考”字段。单击分类术语时,它会显示与该术语相关的所有节点。但是我如何按 WEIGHT 字段对它们进行排序?
此时我已经为视图中的所有术语创建了页面(我很幸运,我只有 8 个术语)。但如果项数超过 8 个。我怎样才能自动化这个过程呢?我只想为所有术语创建一种视图。
I've created content type called 'price' and defined field called 'weight'. Also I've created field 'Taxonomy term reference'. When clicking on Taxonomy term it shows all nodes related to this term. But How I can sort them by WEIGHT field?
At this moment I've created pages for all terms in views(I was lucky, I've got only 8 terms). But if terms would be more than 8. How can I automate this process? I would like create only one views for all terms.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
定义字段参考视图 ->节点列表->添加分类术语的关系 ->为该关系添加排序。
Define Views for field reference -> node listing -> add relation for taxonomy term -> add sorting for this relation.