I have uninstalled the workflow_ng module (as it was no longer needed) but still had a need in some of my actions for tokens such as %status, %path, and %promote so a notification e-mail tells me or my editor if an article is published, unpublished, etc. So, I copied over the relevant portions of the token include for that module to token_node.inc. I have attached a patch which shows the changes I made for the use of others who may have the same need.

CommentFileSizeAuthor
token_node_inc_workflow.patch1.94 KBrkdesantos
FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in token_node_inc_workflow.patch. View
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

Dave Reid’s picture

Version: 5.x-1.9 » 7.x-1.x-dev

New features for 7.x-1.x (possibly 6.x-1.x) right now.

Status: Needs review » Needs work

The last submitted patch, token_node_inc_workflow.patch, failed testing.

rkdesantos’s picture

Assigned: rkdesantos » Unassigned
Dave Reid’s picture

Tokens [node-path] and [node-path-raw] have already been added to D6 token.