Closed (fixed)
Project:
Heartbeat
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
25 Feb 2009 at 09:30 UTC
Updated:
20 Jul 2010 at 15:06 UTC
Is it possible to integrate Heartbeat with the Domain Access module? I need to display public user activities per domain. Each node is assigned to one domain only. At the moment heartbeat displays activities from all domains on each domain.
Is there any chance I can limit it somehow?
Comments
Comment #1
Stalski commentedWell , i am planning to add a tag system to messages. Maybe messages could be filtered per domain that way. While fetching the messages, they would be with a filter "only for that domain".
I will look into this. I will keep you informed on that via this issue.
Thx
Comment #2
Stalski commentedSorry to answer so late.
It certainly is possible. There are a couple of ways to do this.
I would recommend implementing the hook_heartbeat_messages_alter (or even hook_heartbeat_theme_alter) to verify the node's attribute when showing the stream. When using views you could add a field and joining the node for instance, but preferrable use the blocks and pages in heartbeat itself.
Comment #3
Stalski commentedComment #4
junni commentedWe used the hook_heartbeat_messages_alter() but when there are a lot of messages of a particular domain, the heartbeat activity is empty on the other domain(s), since it removes the 'wrong' entries. Is there a solution for this, except increasing the records to fetch :)