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.
Hi
I've setup a rule that logs which user flagged another user.
I have one user flag and I want that each time a user flag another one, it is shown something like !username flagged !user.
Hower, when i setup my rule, I get the message Property name flagged property name.
I've also setup an action to display a message on the website, and that message has the correct name written but not in heartbeat.
What did i do wrong?
Thanks
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedThis is the code that works for me. This is tested with dev (not 7.x-1.0).
This is code that also works with latest dev, cannot be imported without upgradng to dev version.
The code for heartbeat template:
The code for the rule of the user like thing:
It seems to me it works as designed.
Comment #2
warmth CreditAttribution: warmth commentedI wanna do the same but when a Heatbeat activity is flagged under "I like", can you please help me?
Comment #3
jdleonardThe underlying cause may be #1761096: Heartbeat rules action does not unwrap variables from entities