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 thank you for the module.
I have flags enabled, and have put a flag link on a node.
When a node gets flagged how do I display a message showing the user has flagged the node?
Comments
Comment #1
blacklabel_tom CreditAttribution: blacklabel_tom commentedYou could add a heartbeat activity when something is flagged by adding a hook when content is flagged with:
http://drupalcontrib.org/api/drupal/contributions%21flag%21flag.api.php/...
And adding the heartbeat message with:
http://drupalcontrib.org/api/drupal/contributions%21heartbeat%21heartbea...
Cheers
Tom