I would like to display Content Profile fields (Full Name, brief bio, etc.) in a node along with the normal node content. I.e., a Article is created, and the author name and bio is displayed as well. I was hoping to do this by using the CCK user reference field. I would like the content creator to be able to simply select a contributing user from a list, and then the Content Profile information will be automatically displayed based on the UID.

How do I do this in content templates? I.e., how do I print a Content Profile field (like "field_display_name") based on the selection of a particular user?

Thanks,
Maria

Comments

Status:Active» Fixed

hm, use a node reference field instead - you can use auto nodetitle to let it have right titles or a view. Then select a option to show the content of the referenced node. I don't know if there is such an option, but that's the way it would work easily.

Status:Fixed» Closed (fixed)

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

Has anyone figured out a way of doing this. I have tried node reference but don't see how to make it work?

Status:Closed (fixed)» Active

I would like to know how to do this as well. I did many searches on google and the various drupal user groups, but there is no current solution.

I think the http://drupal.org/project/viewfield module would do this pretty easily. Add the viewfield to the content types that need a bio and pass %author or %nid to a view to extract whatever field you want from the user's content profile.

I'm going to try this in a few days - I let you know if it works. I can't imagine why it wouldn't.

Dogboy72, Did it work? thanks

Yes it did. I am not using it yet because the author's bios have not been completed.

Of course viewfield is still in Dev.

/me dives in

I need a solution to this also.

viewfield white screened my install... maybe I'll wait a while for that module...

Old thread but any solutions? Would like to know how to do this in D7.