I'm trying to add a CCK field that will present a site manager with a list of instructors which are actually a sub-group of already-authenticated users with the role name of "instructor" for a "class" content type.

The list of instructors is pretty large, and I'd rather use the actual users that are already on the site to populate that field instead of just having a plain select list.

The "class" content type will have a couple other fields, like location, day of the week, and class type. The problem is figuring out how to add the instructors, who are already authenticated users to the content type via a select list of some kind. Does anyone have any ideas on how to best accomplish this? I can't find a suitable CCK field to do what I'm trying to do, and as mentioned previously, I don't want to use just a text/select list.

2 Answers 2


You can use the modules Entity reference and Views.

Views will allow you to generate a list of authenticated users (see PS).

Entity reference will allow you to add a Reference field which can reference entities filtered by the view you choose during the field setup.

PS. In order to make the view available on the field setup page, the view my have a "References" display.


You can setup a view for those users and then install Views Field View module. With this module you can add a new field to your node which is a link to that view.

That view will be able to get arguments coming from the node where it's linked from.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.