Hello everyone,
I have problems with workflow, let me explain:
My site has multiple roles that leave a writer and editor of several steps in my workflow ranging from writing to publication.
During a creating a page, the writer puts into writing the page, the webmaster validation to the editor in chief who will lay out the step "published ".
So if you follow this process a simple editor can not publish a page, only the editor can do.
Then all the pages create a revision, so far so good.
Now my problem is that for creating a page, everything goes fine, but it is editing a page that it gets stuck ...
Indeed, an editor can edit a page but when the changes, the workflow does not returns from step 1 which is the writing, while a release is created.
So, I wonder if this is possible or if I configure workflow is wrong?
Thank you in advance for your answers!
KStudio.
Comments
kstudio, i have been using
kstudio,
i have been using the workflow module on 2 of my larger sites since 2007, on both drupal 5 and 6.
if you setup your workflow properly with the proper states, transitions, triggers and permissions, when an editor edits a page, he or she should see a collapsable fieldset with the possible workflow states that can follow the current one. just select the next state and the node will be ready for the next person on the workflow.
if your editor can't see the workflow fieldset, then he or she may not have the proper permissions set. on the workflow setup screen, you need to assign roles that have the permission to perform the transitions as well as roles that have access to the workflow tab.
let me know if this helped you.
-A
perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'
Hello aloyr, Thanks for your
Hello aloyr,
Thanks for your answer, I progressed in my project, so now when an editor edit a page which is published, he has the choice of Writing, in validation and ( and it's the problem ) published then he should not have this proposition.
But in the settings of workflow, in published state, we can't remove this possibility because there is no collumn.
So, how I can do that ?
Thanks in advance,
Kstudio.
Hi, KStudio. I am not sure I
Hi, KStudio.
I am not sure I correctly understand your problem. The workflow module is a great tool, but it may not be the best module for you...
If you have different people creating, editing and approving content, then workflow will fit just fine (and i will outline a simple workflow below). If, however, what you need is to create a new version of the page while the old one is still available to the public, then the "Revision Moderation" or the "Revisioning" modules may serve you better. If what you need is to control page visibility (like between different departments in an organization), then the Organic Groups may serve you better.
For the purpose of this answer, let's assume that what you need is the workflow module, and that we have a simple workflow with the "draft" and "published" states and the simple roles of "editor" and "publisher". Let's also assume that this is the first workflow defined on your site. When you visit the http://<yoursite>/admin/build/workflow/edit/1, you should see the workflow configuration screen with several sections.
On the first section, where the transitions are defined, you select from "creation" to "draft" for the editor and publisher (you may want to give the publisher also the transition from "creation" to "published") and for the publisher only you define the transition from "draft" to "published" as well as from "published" to "draft".
Further down, under "workflow tab permissions", make sure that both publisher and editor roles have access - this will allow these roles to perform transitions to different states without having to edit the page. Lastly, further down, under Access Control (assuming you enabled the "workflow access" module), you have the "workflow access" section. In there you define who can view, edit and delete the page at any stage.
The recommended settings would be to enable both "editor" and "publisher" to view edit and delete the pages on "draft" state, but to only let the view permission under the published state. That will force the publisher and/or editor to move the page from published state back to draft in order for the page to be edited.
I hope this helps you.
-A
perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'
Hi, and thanks for your
Hi, and thanks for your tutorial.
You helped me a lot.
So, I did everything you said but to be more precise :
When a page has finished all its workflow and has published, a simple editor can modify this page.
When he modifies this page, he has a choice of writing, in validation (here, all are good) but when he chooses one of them, the precedent revision (which is published) is superseded by the new where as i need to see the last revision until the new is finished its workflow.
Probably, i think, it's not possible with only workflow.
With what modules can I do that ?
Thanks again,
Kstudio
2 modules for you
Yeah, it looks like what you need may be achieved by a couple of different modules.
The "revisioning" module seems to do what you need and is pretty up-to-date, but doesn't have a Drupal 7 version yet. It's description is as follows:
Revisioning is a module for the configuration of workflows to create, moderate and publish content revisions.
Project url: http://drupal.org/project/revisioning
The "revision moderation" module is a bit dated and may also work for you. Here is the description from the module project page:
The Revision Moderation module allows you to leave existing revisions of a node published while new revisions go into moderation for an administrator to approve.
Project url: http://drupal.org/project/revision_moderation
The way that Drupal works, you may not be able to combine different modules that handle node access. If one of the modules grants access to a particular role, then that user will have the access... Do you think that using just the "revisioning" module will be sufficient for you?
-A
perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'