开发者

Drupal 7 taxonomy term nodes sort by WEIGHT

开发者 https://www.devze.com 2023-04-03 12:46 出处:网络
I\'ve created content type called \'price\' and defined field开发者_StackOverflow called \'weight\'. Also I\'ve created field \'Taxonomy term reference\'. When clicking on Taxonomy term it shows all n

I've created content type called 'price' and defined field开发者_StackOverflow 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.


Define Views for field reference -> node listing -> add relation for taxonomy term -> add sorting for this relation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号