Drupal Technical
[SOLVED][Drupal Views] How to sort nodes by term weight
In Drupal all content except comments are considered as nodes. Nodes can be sorted against a variety of criteria like the commonly used post date and published date. Nodes can also be sorted according to the term weight. If you need to have your nodes in your Drupal website sorted by Term weight, you can use the Drupal Views module to create a View and list and sort them there. Read on to get the details.
Follow the steps below to sort the nodes by term weight.
- Create a view of Node contents.
- Next add a relationship of Taxonomy terms on node.
- This will expose the Term:Weight sort criteria option
- Add this Term:Weight to your sort criteria.
- This will ensure that the View displays the content in sorted order.
Hope that helps.
The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.
Reference: http://drupal.org/node/1240598