Organic Groups with Activity D7
Has anyone successfully integrated an Activity stream to be filtered only by the organic group that the user is currently viewing (meaning, the main OG content type)?
Or alternatively, Heartbeat?
Thanks!
Read moreHeartbeat: Theming functions?
Hi,
I'm looking for some functions/hooks to alter the html output of a heartbeat stream.
Normally, the heartbeat module creates a lot of DIVs for a heartbeat stream.
The HTML Output is something like this:
<
div id="heartbeat-stream-publicheartbeat" class="...">
<
div class="heartbeat-messages-wrapper">
<div class="heartbeat-message-block">
<div id="beat-item-1">
###MESSAGE###
</div>
</div>
<div class="heartbeat-message-block">
<div id="beat-item-2">
###MESSAGE###
</div>
</div>
Read more Heartbeat stream as content element on a panels page?
Hi folks,
to log user activity on a community site I'm using the heartbeat module. I wrote a custom module to utilize heartbeat functions. I tried using the Views module with the heartbeat views integration but that's not as flexible as I need it to be. I'm testing my configuration with the "Public Heartbeat Stream" which comes with the heartbeat module (/heartbeat/publicheartbeat). Everything seems to work the way I want it to.
What I need now is to integrate the public stream into a panels page (panels module). And that's were I'm stuck right now :(. How can I do this?
Read moreHeartbeat pattern
Once the iframe is created and after the design mode is activated I call the activateHearBeat() function. This function does the refresh loop of the document calling itself with the setTimeOut() js function and calling the updateDocument() on each iteration.
<?php
function activateHeartBeat()
{
updateDocument();
setTimeout(function () { activateHeartBeat(); }, 3000);
}
?>The updateDocument() is now very simple but it will have to set all post vars to send them to the server in each async call.
<?php
function updateDocument()
{
// set post vars
// (...)
.
// do async call