This is the groups page. In the subnavigation you will find all available groups in the demosite. Every group has a heartbeat stream that comes within og_activity module. It shows the activity within that requested group.
This page however is the entry point for ALL groups, so here the heartbeat activity stream will show the activity from all groups. This is a nice example on how you can override the whole query. This code is taken from the submodule og_activity in is located in files og_activity.module and groupsactivity.inc.
How to create a custom activity stream
First, we register the stream as a stream (An object that extends the HeartbeatAccess object). Make sure the path is correct, the class name is unique and that hook is correctly implemented what so ever.



31 weeks ago
34 weeks ago