Token Replacement Patterns

Events happening in the community are now at Drupal community events on www.drupal.org.
kurosevic's picture

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

itangalo's picture

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...

orbmantell's picture

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

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: