视图分类权重 - 选择哪个词汇?
我有2个词汇。在视图中,如果我将节点分类术语权重添加为字段,则无法指定要使用的词汇表。始终使用相同的词汇,但我希望它是当前正在使用的其他词汇。 Drupal 如何决定使用哪一个以及如何将其更改为另一个?
I have 2 vocabularies. In Views, if I add the node taxonomy term weight as a field, I can't specify a vocabulary to use. The same vocabulary is always used, but I want it to be the other vocabulary that is being used currently. How does Drupal decide which one to use and how can I change it to the other?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并不理想,但我通过词汇过滤解决了这个问题。我过滤的词汇表包含我想要使用的权重术语。
这对我来说没问题,因为我的所有节点都会有每个词汇表中的术语。该方法的局限性在于,如果我按词汇表1过滤,如果一个节点只属于词汇表2中的一个术语,即使在术语页面上它也不会显示。
Not ideal but ive solved this by filtering by a vocabulary. The vocabulary ive filtered by is the one that contains the terms who's weight I want to use.
This is OK for me as all my nodes will have a term from each vocabulary. The limitation of the method is that if I filter by vocabulary1, if a node only belongs to a term from vocabulary2, even on the term page it wont show up.