Creating a draft page before publishing in Drupal 6?

I was looking for a good way to handle the changes in Drupal, but I still have to succeed. For some reason there is no built-in way to save the draft (which I have found so far), and the modules I have tried so far do not seem to work fully. At first I tried save_as_draft , which seemed to do almost what I wanted, and if I'm not mistaken, also processes CCK fields. Unfortunately, this somehow broke, so I can’t edit the page as soon as I save it as a draft. Perhaps I could fix this by looking at the code, but that would not be my preferred solution. The other module I tried is aptly named draft , but from what I can say, this module only processes the header and body fields and does it in a way that seems odd to me.

Is there any common practice to solve this problem? I could not imagine that no one had decided before, but I have not yet found a good solution.

Explanation
I need this functionality for existing content, that is, I want to be able to create and edit a draft version of an already published page, while the "old" version is still available for anonymous users.

Example
On my Drupal site, I have a page with current information about something, such as an event taking place this week. An event also takes place next week, and the information will be posted on the same page (node). I want to do this in order to create a new version of this event page, update it, upload new images, etc., And when the time is right, I want to make this new revision current. To do this, the current current edition should remain published all the time and available to anonymous users. At the same time, there will be a second, unpublished version that editors can get and edit, and publish as they wish.

+4
source share
4 answers

FYI, if you are using Publish / Unpublish, administrators must administer sites to see unpublished sites, and usually this is too much access for non-root administrators (user 1), which would be a problem if your site or any site was more one person accessing the backend. This does not mean that it is a function like wiki.

There is a Revisions module and a Modulation Content Moderation module that can meet your needs.

http://drupal.org/project/revisioning

http://drupal.org/project/content_moderation

+2
source

If I miss something, I think that the Drupal built-in β€œpublish” mechanism should suit your needs.

Do you need a draft? Just don't post when creating content.
Do you want him to be even smarter? Use workflow / rules.

Respectfully,
Shusha

0
source

You want to read http://thepoorhouse.org.uk/drupal_save_as_draft_feature a lot of useful information in the comments. Also check out the rules module http://drupal.org/project/rules

0
source

I'm not sure if this fits your requirements exactly or not, but I know that at work some of my colleagues used node clone for something similar to your use case. Using this module, you can clone a node and then edit the clone.

I have never used this module myself, so I cannot be sure, but it probably does not copy the revision information. Perhaps something you could add, though!

0
source

Source: https://habr.com/ru/post/1306204/


All Articles