After a fresh install of Drupal 5.7, I added and enabled the latest Token and Workflow-ng modules only. The token substitutions fail right "out of the box". For example, if I activate the sample rule called Print the content title of pages and stories and at the top of nodes, it prints:
Workflow-ng example: The title of this post is [node:title].
If I create ANY rules with token replacement, they aren't replaced. I've tried:
* Changing the weight of Token in the system table.
* Doing a fresh install on an entirely different system running PHP/MySQL version 4.x.
* Disabling/Re-enabling the modules.
The only way I've got token substitution to work is with version 5.x-1.3 - and even then not all fields were substituted. Versions 5.x-1.4 and above fail in this respect.
Comments
Comment #1
WISEOZ commentedThis is happening with my implementation as well. Tokens are not working in emails I am trying to send from workflow-ng rules.
Any update on this issue?
Comment #2
fagoplease report the token + wng versions you both have used.
Comment #3
fagoplease report the token + wng versions you both have used.
Comment #4
WISEOZ commentedI am using 5.x-2.x-dev of Workflow-ng and 5.x-1.x-dev of Token.
Comment #5
fagoI just tried it with the recent token and workflow-ng dev versions - no problems.
But I noticed that the example was broken. I've fixed that in 2.x-dev.
Comment #6
WISEOZ commentedWhat do you mean by "the example was broken"? What do I need to do to make this work for me?
Comment #7
fagoupdate to 2.1.
Comment #8
WISEOZ commentedI upgraded to 2.1 but am still not seeing any token data appear in my emails.
Comment #9
fagodoes it work with the example now?
Comment #10
WISEOZ commentedWhat example? It doesn't work for certain tokens I've selected to display in the email. Is that what you mean?
Comment #11
fagoI'm referring to the provided default configuration as example "Workflow-ng example: The title of this post is [node:title].".
Are other tokens working then? Does the default configuration work? -> Activate it.
Comment #12
WISEOZ commentedI got it working using [node:title]. I'll make use of that one for my purposes and not worry about the CCK field I was trying to use. Thanks for helping me out.
Comment #13
fagoComment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #15
slosa commentedwhat do you mean by activate it? Activate what?