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.
Is it possible to group all heartbeat messages by day?
The view I am trying to achieve is as follows:
Monday Jan 1 2009
Joe updated his profile.
Jill updated her profile.
Tuesday Jan 2 2009
Joe created a new story.
Jill created a new story.
Wednesday Jan 3 2009
Joe edited a page.
Jill edited a page.
Etc.
Thanks!
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedWith a theme override for the normal blocks n pages, this should be possible. If i am correct, you could even achieve this with a template file through a views display.
For these things, it is always best to play around a bit with hooks and theme overrides to accomplish more advanced displays.
I think it would be possible as well (for developers) to use a custom heartbeat access type (class you define in your own module) and do the grouping like that. Just hook the class methods you need.
Comment #2
NToronto CreditAttribution: NToronto commentedAnyone available to take a stab at this? Much appreciated!
Comment #3
Stalski CreditAttribution: Stalski commentedI planned to write a couple of blog items (again time time time) ... and give advanced examples. I will cover such things as well.
This weekend I am on holiday, maybe i write a couple of blog posts ;)
I can not promise when it will be finished.
Comment #4
NToronto CreditAttribution: NToronto commentedGreatly looking forward to your blog post!
Comment #5
thekayra CreditAttribution: thekayra commentedsubscribing.
Comment #6
thekayra CreditAttribution: thekayra commentedJust realized that this is possible via 6.x-4.x-dev version of heartbeat. I have been able to create a view that sums information (Heartbeat activity: Heartbeat message id) and grouping the days.
Hope this helps.