Can you upgrade this module to work in Drupal 6?

Comments

ianchan’s picture

subscribe

janusman’s picture

I am working on a D6 version as we speak; a bit ugly but it *seems* to work.

When tested I will post here. Hopefully the mantainer is alive to continue this? =)

janusman’s picture

Status: Active » Needs review
StatusFileSize
new9.43 KB

This patch creates a D6 version from the 5.x-1.0 version.

Alpha5’s picture

Can you upload full module file. I use Windows, can not use patch.

janusman’s picture

StatusFileSize
new12.98 KB

Sure, here it is...

Alpha5’s picture

I used it, it work well, right way. Many thank.

csc4’s picture

Excellent - is this likely to become a release soon?

mudd’s picture

Thanks for the module!

However I think I can't use it in its current form. What I see is that the user is not prevented from setting the disallowed states, and once the node is saved the module produces a message and the node is left without a WF state ("No state"). In my application, the user can only edit the node in it's draft state, so the result is that the node is neither submitted nor editable by the user.

Rather than checking upon node form submit, the check should be just prior to rendering the Workflow widget (e.g. for edit page and Workflow tab) and gray-out states that are not allowed. Perhaps also consider using the transition table.

Irbis’s picture

May be mark fields as required always, independently from workflow status? I think this will more user-friendly for users which completing this fields.

janusman’s picture

Irbis: always-required fields should be marked as such in the normal CCK field configuration; mark the field as "required" there.

deekayen’s picture

Status: Needs review » Fixed

I put #5 in HEAD.

janusman’s picture

Awesome! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.