Currently, if you use the userreference CCK field to reference a User, it creates a handy little list on the User profile page of all nodes which reference that user. This is great if you want to go to a user and see what nodes they have 'authored.'

However, since I wanted to restrict the list of users a particular field could reference to those within a 'role', I have done the following:

1. Created a profile field which has a checkbox list of various roles (Author, Moderator, etc.). This is different than the User permission roles.
2. Created a View, restricted to 'profile' node types, with an argument that lists users according to role.
3. Created a Node Reference field in my CCK type which references 'profile' view, with the argument I want for this particular node type (contributor).

On the created node, there is a handy link back to the Contributor's user page. However, there is no corresonding link from the contributors page to all nodes associated with the contributor, i.e. a REVERSE LINK (this is what the CCK userreference field does).

Any ideas how to do this?
Thanks,
Maria

Comments

kenorb’s picture

kenorb’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Marko B’s picture

This is old but if someone needs solution latest user reference field has a checkbox "Reverse link" and then a group of Related content appears under each user.