Hey everyone,
Just wanted to start the process of discussing a Drupal 7 port... Does anyone have plans for a D7 port in the works?
--Ben
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | example_view_of_unpublished.txt | 15.08 KB | thekevinday |
| #5 | view_unpublished.tar_.gz | 1.52 KB | thekevinday |
| #4 | view_unpublished-7.x.tar_.gz | 1.4 KB | thekevinday |
| #2 | view_unpublished-7.x.tar_.gz | 6.72 KB | thekevinday |
Comments
Comment #1
lpalgarvio commentedthis permission seems to be already in D7.
please alert users to this on the front page and tell them that's another good reason to use this ;)
Comment #2
thekevinday commentedWrong.
I only see a "View own unpublished content"
I have just ported this to drupal 7.x, here is the 7.x version.
Comment #3
thekevinday commentedComment #4
thekevinday commentedupdate version with minor change.
Also adds dependency that I forgot about.
This requires the following module: http://drupal.org/project/cf
Comment #5
thekevinday commentedLates changes and bug fixes.
Comment #6
nlounds commentedThanks for posting this! It was just what I needed. Unfortunately, except for the owner and admins, unpublished items still don't show up in any of "Find content" searches. So I'm still trying to figure out how they can find the unpublished content without knowing the URL.
Comment #7
thekevinday commentedI have made a few more changes such as adding back the ability to manually specify access for individual unpublished content types.
I see that it is indeed not showing up for non-admins,non-owners and will look into fixing that.
As far as showing people how to find content, all you need to do is use a custom view from views module and set it to display a listing of content that has the unpublished status.
As an example on how to do this I have attached a text file containing an exported view in which you can import.
Comment #8
geek-merlingood thing, sub
Comment #9
jonathan1055 commentedTo allow users to get at their own unpublished content, you can also use Content Management Filter http://drupal.org/project/cmf which adds a tab on the users profile page with all their content. Saves using views to make your own ;-)
There is no D7 version yet, but it is such a useful module, as a replacement for the clunky regular /admin/content that the D7 version will be ready soon.
Comment #10
webflo commentedHere is my implementation for Drupal 7. The code lives in my sandbox. http://drupal.org/sandbox/webflo/1074650
Currently its called "view_unpublished_content", but im fully okay to rename this and join forces with view_unpublished. If so i will create a path for view_unpublished. Please test and give feedback.
Comment #11
geek-merlin@webflo: great, i'll check this out!
sandboxes are cool.
Comment #12
vint commentedCan't believe this one didn't make it in D7, and view own published content did. I believe in D6 I never encountered this issue because we were using the workflow module.
Anyway, thanks for the port, I hope it will appear on the module's page -- probably quite a lot of people missing out because they don't check the issue queue.
Comment #13
lpalgarvio commentedcms is rather bulky, requires a lot of modules.
try instead admin_menu views from admin_menu 3.x. you can mix with with the working admin_menu 2.x
Comment #14
johnvwebflo, is your port different from thekevinday's ?
Comment #15
webflo commentedYes, i implemented this feature via hook_node_access_records(). This is possible since #452538: Enable Node Grants for Unpublished Nodes in in core.
Comment #16
jthomasbailey commentedsub
Comment #17
entendu commentedComment #18
entendu commentedwebflo's version is the base for the D7 release. I preferred his use of hook_node_grants() and the lack of dependency on another module.
@webflo, I removed the content browser functionality because a properly configured view (like thekevinday posts in #7 above) should do the trick. However, if you want to spin off that portion of code into a new "view_unpublished_content" addon module of some kind I'd be happy to link to it on the project page!
Thanks all, the D7 release will appear shortly.