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