Posted by kurosevic on April 27, 2010 at 4:55pm
I've created a rule that displays a message. I've copied the token replacement pattern for a created content node id which is:
[auto_generated_cq:nid]
when i enter it in the message box, it doesn't seem to generate any number.
i've used it this way: http://mysite.com/node/[auto_generated_cq:nid]/edit
and also this way: [auto_generated_cq:nid] (by itself)
and neither did anything.
Whats the matter with my token? :)
Comments
I've had problems with messages
I've had some problems with inserting PHP into messages, but not with tokens.
Have you tried using tokens in any other action or field?
//Johan Falk, NodeOne, Sweden
I have had the same issue...
I have had the same issue, I have a token that works when used in the body of an email, but when I try to use it in a custom rules action I wrote it does not evaluate. I have been unable to figure out why using google and drupal.org.
I am not sure if it is related, but on the settings page for my action the "token replacement patterns" list does not show up.
I really want to get this to work, all help is greatly appreciated