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

Anonymous’s picture

The token is misspelled, it should be like this:

[heartbeat_activity:flag-like-count-linked] 

In flagattachment.inc line 88

Stalski’s picture

Status: Active » Fixed

Indeed. I noticed this myself, I used the wrong token in the message default (while it was overrriden locally).
This is fixed in git.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dinesh217’s picture

Issue summary: View changes

how to fix this issue.
the following patch did not work
https://www.drupal.org/files/heartbeat_plugins_flag_3_support.patch
please somebody help.

logicp’s picture

dinesh217: 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?

logicp’s picture

Perhaps this is related to the issues dinesh and I have experienced:

https://www.drupal.org/node/1691580

logicp’s picture

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