Views Default User Taxonomy

Categories

Component ID

2365945

Component name

Views Default User Taxonomy

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1127

Component created

Component changed

Component body

This module allows you to create lists of users based on shared taxonomy terms in user profile fields.

Out of the box, Views does this only for nodes. This module overrides the plugin that manages this, and adds user support.

Installation

Extract the module to sites/all/modules and enable it via the modules administration page. You will find it under the Views category.

Usage

  1. Add a term reference field to your user
  2. Create a new User view with a block display
  3. Add a relationship for the term reference field
  4. Add a contextual filter for Taxonomy term: Term ID and configure it to use the relationship you just created
  5. Select Provide default value and choose Taxonomy term ID from URL from the drop-down box
  6. Check the box for Load default filter from user page, that's good for related taxonomy blocks and optionally limit the vocabulary
  7. Optionally, add a second contextual filter to exclude the current user from the views results
  8. Stick the new block in a region and make sure it displays on user/* URLs