Question

Is it possible to display content by a group of authors without using a group module? I like the group module, but it's much more complex and robust than what I need it for.

Synopsis: We need to build a page that will display blog posts by not one specific author but by a group of authors dynamically and preferably contextually. The authors will not have control over this page or interact with it in any way. There will be dozens of these groupings of authors. The page will also display a view block of biographies for the authors that can be linked to the author's Drupal profile.

Edit: screenshot of my contextual filter using the selected answer below; pastebin of exported view enter image description here

Was it helpful?

Solution

The simple solution would be to add Term Reference field to the user's profile fields. Then for each user assigned them a taxonomy (in this case the taxonomy term name would be the group name).

Use Field Permissions module to control who can edit and change the user's tax reference field.

Use Views and filter by taxonomy term to display the "group's" content. You will need to make a View of Users then under Advanced (far right) add a Relationship of Content authored.

OTHER TIPS

You can also create a new user role and assign it to these specific authors then in your view:

  1. Add relation to author.

  2. Filter results where the user has this new role.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top