Active
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2009 at 15:26 UTC
Updated:
21 Dec 2009 at 19:32 UTC
I'm wondering if it is possible to add another relationship which works from node->user. There is an existing relationship which provides a user->node relationship, but I don't think this can be used the other way around... is that right?
So, in node views we would (with the aid of this relationship) be able to pull fields from the user data as well as what can be done now which is to get node data in user views.
Comments
Comment #1
nikitas commentedyes . . . you could expand the profile page by enabling the profile ( build in module ) . . .
and then use views.could you be more specific ?like i want to have a page where the user and his pictures etc etc will do that?
Comment #2
cyrusvhadsupper commentedI've been trying to find the solution to this;
Here's my scenario:
I have multiple content profiles attached to a single user; user profile has some general information like avatar, full name, etc; the attached content profile nodes contains other more specific information. Then I use views to pull data out for a specific content profile type, but I also want those general user information as well, so that I can put let's say an avatar in the content profile views result.
A node->user relationship seems a good way to implement this...
Anyone has better ways to implement this?
Thanks!