Multiple Authors / Node

narsil351 - October 31, 2009 - 03:35

Hello all,

I am currently developing a local newspaper website, and we need to have multiple authors per node. However, I don't want to display the user ids, I want to display the Profile Name that the user inputs. For example, I don't want

by jdoe and jadoe

but rather:

by John Doe and Jane Doe

Any ideas on how to do this without messing too much with the code? Any assistance is much appreciated.

Thank you

I guess there are two

shameemkm - October 31, 2009 - 05:21

I guess there are two problems that you want to solve.
1) Two Or more authors for a node. This can be achieved using Node Access User Reference module

Taken from their site
Allows you to configure a CCK user reference field so that the user whom is referenced in a node is granted access to view the node. There are also options to give the user access to edit or delete the node.

2) Once this is setup then you can use views to show the author name from the profile page you have created easily.

Hope this Helps

Regards
Shameem

Realname

groenm - October 31, 2009 - 05:47

It is not stricly necessary to use views to replace a user name with the full name of a user. Check out the Realname module: http://drupal.org/project/realname

Groen

Thank you very much for your

narsil351 - November 6, 2009 - 02:40

Thank you very much for your help. Now, I have one last question. Is there any way to override the submitted variable with this byline in template.php? I want this to look exactly like my submitted line. Is there any way to do this? I'm sorry if I'm sounding like a noob, because I really am. I don't have any experience with php and am totally new to the template.php.

Thanks in advance,

narsil351

 
 

Drupal is a registered trademark of Dries Buytaert.