Closed (fixed)
Project:
User Terms
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2010 at 09:05 UTC
Updated:
31 Mar 2011 at 20:38 UTC
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 commentedIIRC there is Views integration.
Comment #2
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 commentedAdd relationships to go from nodes -> user -> terms, probably.
Comment #4
vip_sa commentedOk thank you I will check that out
Comment #5
vip_sa commentedHow exactly do I do that please I cannot seems to figure it out by myself
Comment #6
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 commentedI don't think you can use user relationship in views.
Comment #8
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 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 commentedsubscribing