Greetings
I am struggling trying to create a UR view.
How do I create a view with all nodes from users related to current user, of the relationship type "friends"?
(The "friends" relationship requires approval.)
Is this even possible? I have been struggling with this for ages, but I cant seem to make it work.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Picture 1.png | 74.7 KB | alex.k |
| #3 | posts_from_requestees.view_.php.txt | 5.51 KB | alex.k |
Comments
Comment #1
jonskulski commentedI would also like to know if this is possible in views.
Currently I have created a custom panel content type with custom SQL and would like to move it to views to support exposed filters etcc.
Great framework btw.
Comment #2
ltwinner commented+1
This would be an excellent addition to this module if it was possible.
Comment #3
alex.k commentedSomething to point you hopefully in the right direction. Attached view displays content posted by user's relationships. By default it is visible as a tab on the user profile, but you can customize that as needed. Also it has some extra filters for content type, relationship type, etc. Beware of duplicates if you have more than one relationship with a user, and you have not restricted to a particular relationship type.
Comment #4
alex.k commentedThe view in action
Comment #6
jonskulski commentedIs there any way to include the user as well? (All nodes where USER FRIEND OR USER?)
Adding a user relationship between the user and themself (if even possible) would cause a lot of trouble with other pages of the site.
Comment #7
alex.k commentedThis came up a number of times, pls look into views_or.module