Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to have views integration added to this module since it would be great to view content according to a certain bunch of users having the same taxonomy.
Comments
Comment #1
joachim CreditAttribution: joachim commentedIIRC there is Views integration.
Comment #2
vip_sa CreditAttribution: vip_sa commentedNot if you want to apply a filter for nodes. The user term does not come into play if you want to filter a view of nodes based on the user's term
Comment #3
joachim CreditAttribution: joachim commentedAdd relationships to go from nodes -> user -> terms, probably.
Comment #4
vip_sa CreditAttribution: vip_sa commentedOk thank you I will check that out
Comment #5
vip_sa CreditAttribution: vip_sa commentedHow exactly do I do that please I cannot seems to figure it out by myself
Comment #6
joachim CreditAttribution: joachim commentedI'm afraid I don't have time to provide support at this level of detail; ask on the forums or look for Views tutorials.
Comment #7
adpo CreditAttribution: adpo commentedI don't think you can use user relationship in views.
Comment #8
joachim CreditAttribution: joachim commentedI have got this to work perfectly:
1. Create a node view
2. Add the node fields you want as normal.
3. Add the relationship 'Node revision: user'. This gets you to the author of the node's current revision.
4. Add fields from that user if you want. Adding 'User: all terms' is a good idea to test it works.
5. Add the filter 'User: Term'. Select a vocabulary for this, and then some terms.
You then get only the nodes whose authors have the term(s) you selected in the filter.
Now if the someone would care to write this up in the documentation pages that would be cool.
Comment #9
Michsk CreditAttribution: Michsk commentedjoachim, watch out with this. Since this is based on the revision, so when you as admin alter something on the node, it returns your (or the one who made the revision) term.
Because of this issue, this option is not actually not a option. And i can't seem to add a relationship 'User'.
Comment #10
pbeakley CreditAttribution: pbeakley commentedsubscribing