Need some help with your project? Contact me

Cool module: Publish button

Publish button is a nifty little module I recently came across and I thought I'd share with you. It provides a different editorial workflow for when it comes to that final moment when a user publishes or unpublishes Drupal content.

Let’s face it, some content authors new to Drupal may not be so satisfied with the default way they have to publish nodes. Depending on how the site administrator set the environment up, they have to select under Publishing options whether the saved node is published or unpublished - which can be an unnecessary drag for some.

Editors used with other platforms might also find this confusing and would expect a simple Publish or Unpublish button there instead of having to always go and see what checkbox is ticked under the Publishing options. This is where Publish button comes to help out.

Using this module is very simple. After installing it, you can select for each content type whether you want its functionality to be applied to it. So you can be quite selective here. Just navigate to the edit page of the content type for which you need this (for example admin/structure/types/manage/article) and under Publishing options tick the Use publish/unpublish button for this content type checkbox. Save and you are done.

Now whenever you create a new node of that type, you have an additional button next the Save and Preview buttons that let’s you directly publish the node. Conversely, if you are editing an existing node, you get a button to directly unpublish the node.

Just a word of advice. When you want to use this module, it’s best if when you edit the content type you want this button to work on, you also make it so that by default, if the node gets saved, it remains unpublished. Otherwise, you will not get the options of saving unpublished content without manually unticking this box. And this will then defeat the whole purpose of using this module. So keep this in mind.

Hope this helps you in some way. And by the by, this module is sponsored by the good people over at Wunderkraut.

Add new comment

You must have Javascript enabled to use this form.