I would need to list nodes by wrokflow state and to display the workflow state on the node teaser, ideally as a link to all nodes in that workflow state. As if workflow states were taxonomy terms actually. Is it possible ?
I would need to list nodes by wrokflow state and to display the workflow state on the node teaser, ideally as a link to all nodes in that workflow state. As if workflow states were taxonomy terms actually. Is it possible ?
Comments
Comment #1
jvandyk commentedYes, I want this too.
Comment #2
robb commentedI have an action that allows a taxonomy term to be changed in a node. I set up actions that match each workflow state (the text I use for taxonomy terms differs from states so I allow a state => term mapping for maximum flexibility).
I also have some very small patches to taxonomy.module that create a read-only (aka system maintained) vocabulary. This prevents the term from being changed when the node is edited.
Is this what you are looking for?
Comment #3
mfredrickson commentedI see two options:
1. Rewrite workflow to use taxonomy terms as states (I think this is an awesome idea, but a daunting task). Each workflow could be a single-select, multiple parent vocabularly. Each term ("state") would have parent terms indicating what terms can transition to this term. The difficulty comes in if terms can't be their own parents....
2.
Another fudge is the nodequeue and views modules. Nodequeue has built-in support to move a node in or out of a queue, and views hooks. Views can display a queue as a page, a block, whatever.
It's a little tricky, but it works today.
-M
Comment #4
mfredrickson commentedPlease see http://drupal.org/node/49537 for a fix to this problem. I'm going to leave this issue open until the changes in the link hit.
-M
Comment #5
jvandyk commentedWorkflow needs to expose views for views.module.
Comment #6
jvandyk commentedworkflow.module now support Views, thanks to merlinofchaos.
Comment #7
(not verified) commented