This is a patch that I have wanted for a while, and esp. with the added menu tabs it has come together very well.
What this patch does is add an additional tab to the "my account" page called unpublished. This tab displays exactly like the front page, but only displays unpublished content that belongs to the user. This allows the user to work on content over multiple editing sessions and then be able to come back and easily find the content. that they were working on, and resume editing.
I find this useful if your are content is over multiple pages and you want to add the links.
One thing that i would like to add is being able to not only seeing your unpublished content but the content of other users that give you permission to review/collaborate on before it is published. Maybe it would be handy to be able to have multiple authors on a single node.
Comment | File | Size | Author |
---|---|---|---|
#14 | user_14.patch | 1.9 KB | gordon |
#11 | user_12.patch | 1.78 KB | gordon |
#8 | user_11.patch | 1.84 KB | gordon |
user_9.patch | 1.84 KB | gordon | |
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedI think that this could well be implemented as a "personal workflow" module. There are endless possibilities with the new access controll lists.
Comment #2
gordon CreditAttribution: gordon commentedYes the possiblities are endless. I would like to see something more, but at this stage I think this would really help alot of people, I know that it has helped for me.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedseems useful. consider making it a contrib module so folks can easily check it out, and we don't wait for core in order to use it.
Comment #4
gordon CreditAttribution: gordon commentedI do feel that this should be something that is in core. In its present form, creating a module for it would be feely easy, but there is not very much functionality in it, so it would be a very small module.
But turning it into a module maybe a good idea, if the idea is going to be expanded further, I would maybe like to see colaboration on a document between multiple users before it gets published. maybe something like an invitation system, that then users the node permisions to allow other users to access and edit your document before it is published.
Comment #5
elias1884 CreditAttribution: elias1884 commentedas far as I am concerned, this strongly belongs to core. for me this improvement goes hand in hand with http://drupal.org/node/7939 as it gives the unexperienced user a way to verify if their node really got submitted, since they might get confused by the "access denied" message they retrieve when published is turnd of in default workflow.
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedIt seems like this functionality is part of the workspace.module in Contrib. The UI may be different, but the idea persists. Perhaps folks could keep on improving workspace ....
Comment #7
tostinni CreditAttribution: tostinni commentedA little correction of the patch due to new node_acces function :
Replace :
by
And now unpublished tab will really appear ;)
Comment #8
gordon CreditAttribution: gordon commentedHere is a fixed version of the patch.
Comment #9
jvandyk CreditAttribution: jvandyk commentedThis seems to duplicate the functionality of the workspace module.
Comment #10
Dries CreditAttribution: Dries commentedThe tabs on the user page represents actions one can perform on a user: one can 'view', 'edit', 'track' or 'contact' a user. Adding a tab called 'unpublished' is a bad idea.
Comment #11
gordon CreditAttribution: gordon commentedYes looking at this, I agree with you. The way that this menu has developed it is no longer appropiate to add this tab here. My next option was to put it under the either the view or edit tabs. I am leaning more towards the view than the edit.
I think that it is a view function because you are not actually editing anything. Also this is an operation that a user can only use on thier user, so it is a private function. What do you think?
I also did a bit more investigation of the patch, and had to make some more changes as the call to the node_access() has changed, and the information that I need is no longer accessible that way.
Comment #12
mcd CreditAttribution: mcd commentedI'd put the tab under Recent Posts, which already has a similar tab for My Recent Posts.
Comment #13
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedDoes not apply anymore. Using workspace module would be a better idea, I think. Gordon, please close if you agree.
Comment #14
gordon CreditAttribution: gordon commentedI am going to look at the workspace module, but in the mean time here is an updated patch.
Comment #15
shouchen CreditAttribution: shouchen commentedBecause the workspace module requiries MySQL 4, and not all of us use it yet, perhaps this patch could make its way into 4.7?
Comment #16
shouchen CreditAttribution: shouchen commentedI ask again... Because the workspace module requiries MySQL 4, and not all of us use it yet, perhaps this patch could make its way into 4.7?
Comment #17
eafarris CreditAttribution: eafarris commentedYou might want to take a look at my unpublished.module, a simple little hack/module which adds a "my unpublished content" link to the navigation menu. It was written for diyplanner.com.
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/eafarris/unpu...
It might not be pretty or correct, but it does work in Drupal 4.6.3.
Comment #18
LAsan CreditAttribution: LAsan commentedBringing this issue back to discussion.
gordon: Any news on this?
Comment #19
catchNow that we've got views, it's pretty easy to set something like this up from contrib. So IMO this is won't fix. Something that came out of the UMN usability testing was that users can find it hard to find even published pages they just posted (only available via admin/content or /user/tracker/[n] if they're not in a menu/taxonomy/front paged).
So maybe we should expand this a bit, and consider making an easily accessible (top level navigation menu item?) page with all nodes posted by users, including unpublished - so it's a bit harder to lose things. This is even more the case for users without the administer nodes permission.
Comment #20
gordon CreditAttribution: gordon commentedI don't think this is needed anymore. This can be easily added with views.
I would like to close this.
Comment #21
sunAgreed.