Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
under "actions" i "add a variable" and then "show a message". in the latter i cannot find the variable token i added (in this case a simple integer to test it out) and i cannot guess the format for the insertion. please can you tell me how to add variables, lists into a message.
thanks,
laurence
Comments
Comment #1
Syntapse CreditAttribution: Syntapse commentedthe data selector shows as new-variable so i enter as a string: "variable value is: [new-variable]". and i get the same string displayed on the page...
Comment #2
Syntapse CreditAttribution: Syntapse commentedthe actual variable added was new_variable which is changed to new-variable in the Display Message action. I have tried [node:new-variable], [node:new_variable], [new-variable], [new_variable]. ????
Comment #3
Syntapse CreditAttribution: Syntapse commentedOther things I have tried.... [new-variable:name][new_variable:name] ???
Comment #4
TR CreditAttribution: TR commentedThis works: