In the D7 version of this module, the "unpublish" button does not appear on the node edit form. When looking at the code in this module, it seems that the code for this functionality is incomplete. The attached patch attempts to rectify that but in doing so probably borked the unpublish link method.
I'm not even sure the 'link' method is really required as you can create custom link fields in Views which point to 'node/NID/unpublish' and then have the confirmation form (restored in this patch) appear. This is the same manner in which the core node delete button / functionality works.
| Comment | File | Size | Author |
|---|---|---|---|
| content_unpublish_button.patch | 4.16 KB | stella |
Comments
Comment #1
muschpusch commentedTested and looks good. Setting this to critical since the module is useless without it
Comment #2
amitaibuI'm pretty amazed people are using this module -- I completely forgot about it ;)
Anybody up for maintainership?
Comment #3
muschpusch commentedyep if you review #2172769: Node views handler not working i would be up for maintainership... At least committing the most important fixes and cleaning up a bit.