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.
There is a wrong token listed in the token replacement list to get the counter value for comment flags.
If you have a comment flag "goodcomment", you will get this token in the list:
[comment:node:flag-goodcomment-count]
It won't work. It's necessary to remove "node" part and then it's outputting the correct number:
[comment:flag-goodcomment-count]
Comments
Comment #1
joachim CreditAttribution: joachim commentedI don't see any tokens like that. Can you export your flag please?
Comment #2
1mundus CreditAttribution: 1mundus commentedNo problem.