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.
No new module installed, but suddenly I've got a problem with tokens.
For instance:
node/[nid]/quiz-results/[result_id]/view
gives:
node/%5Bnid%5D/quiz-results/%5Bresult_id%5D/view
And tokens used in Rules are not working anymore either.
Any idea?
Comments
Comment #2
djdevinHi,
Those tokens do not look correct. They usually look like [node:nid] and [quiz-result:result_id] so it makes sense that Token is not replacing them.
For example the stock email rule that comes with Quiz looks like this:
"You can access the result here: [site:url]node/[quiz-result:nid:nid]/quiz/results/[quiz-result:result-id]/view"
Did you grab that token string from somewhere else? Those are D6 tokens, and what look to be like very old Rules tokens.
Comment #3
djdevin