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

joachim’s picture

Category: feature » support
Status: Active » Closed (fixed)

IIRC there is Views integration.

vip_sa’s picture

Not 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

joachim’s picture

Add relationships to go from nodes -> user -> terms, probably.

vip_sa’s picture

Ok thank you I will check that out

vip_sa’s picture

How exactly do I do that please I cannot seems to figure it out by myself

joachim’s picture

I'm afraid I don't have time to provide support at this level of detail; ask on the forums or look for Views tutorials.

adpo’s picture

I don't think you can use user relationship in views.

joachim’s picture

Priority: Critical » Normal

I 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.

Michsk’s picture

joachim, 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'.

pbeakley’s picture

subscribing