I would like to link the output of a field(say WRITTEN BY:Name) in the content type (say ARTICLE) to the user profile.
You should take a look at Entity API and Entity reference.
Consider these modules over the references module (as stated in references module):
References will most probably be deprecated in the near future in favor of Entity Reference, which should probably be considered first on fresh D7 projects. Another, more radical, alternative would be the Relation module.
Update: Here are the required steps:
admin/structure/types/manage/page/fieldsAdd new field section choose Type of data to store. to be Entity Reference and for the widget, select whichever works to you. Then click Save.Field settings page, set Target type to User, then configure the remaining settings to fit your purpose and save the settings.Hope this helps... Muhammad.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With