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.
When I click "I Like" and refersh the page, this is what I see:
[heartbeat_activity:flag-like-count-link] liked this
The token isn't replaced
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThe token is misspelled, it should be like this:
In flagattachment.inc line 88
Comment #2
Stalski CreditAttribution: Stalski commentedIndeed. I noticed this myself, I used the wrong token in the message default (while it was overrriden locally).
This is fixed in git.
Comment #4
dinesh217 CreditAttribution: dinesh217 commentedhow to fix this issue.
the following patch did not work
https://www.drupal.org/files/heartbeat_plugins_flag_3_support.patch
please somebody help.
Comment #5
logicp CreditAttribution: logicp as a volunteer commenteddinesh217: it appears the above flag was intended only to create a condition to handle separate flag definitions for users using flag 2.x and flag 3.x, with the token declaration being the same appropriate one in each case. This would suggest that your token is not displaying for other reasons.
I, myself, am having the same issue with the latest versions of flag and heartbeat on a D7 installation. Have you made any progress on rectifying this problem?
Comment #6
logicp CreditAttribution: logicp as a volunteer commentedPerhaps this is related to the issues dinesh and I have experienced:
https://www.drupal.org/node/1691580
Comment #7
logicp CreditAttribution: logicp as a volunteer commentedThe link in #6 provides the information on how I solved this problem for myself. Hopefully someone can benefit from it, or improve on my process.