By dme69 on
Hello all,
I'm learning (very beginning) Drupal for a project :
It's going to be a community site where registered users will create documents. To publish a document 2 users (from 2 groups) will need to be the authors.
1 user will create the document and another one will be able to go work with him on this document. At the end there will be 2 authors (like a kind of wiki).
Is it something possible ? With what kind of module ?
Thanks for your help.
Dominique.
Comments
CCK User reference
Hi Dominique,
The CCK module's user reference field would allow you to specify a second author for the page, then maybe modify your *.tpl.php template files to include the user's name in the "submitted by" phrase.
http://drupal.org/project/cck
You haven't stated whether or not you will need to restrict editing to these two users only? If so, then the above solution might need some additional work to implement.
Hope this helps?
Regards,
Sverre :-)
--
Sverre Sverresonn
Group Scout Leader
21st Medway Scouts, Kent, UK
http://www.21stmedway.org.uk/
...
You need to use some node access module. Yesterday I answered a similar question.
Internally, drupal supports only one 'author' per node --which the 'submitted by' line shows. But, using some node access module, several users may have 'edit' rights to the node. You can then theme the 'submitted by' line to show these users and give the viewer the impression that there are several authors.
(Sverre suggested using CCK's 'userreference' field, but I don't see how it's helpful.)
Another explanation of the CCK userreference approach
This explanation of the CCK userreference approach may help clarify where it can be useful: http://www.broadlatitude.com/blogs/matt/content/drupal-solutions-news-mu...
As Sverre said, though, if you want to control permissions based on both author fields, there's more work ahead of you.
Thanks for your help. I'm
Thanks for your help.
I'm going to see this options.
Dominique.
_
Another very simple option that works well is the http://drupal.org/project/shared_edit module-- you should really consider using only d6 or d7 as d5 is unsupported at this point.