This patch will fix it. Dunno if it's the best way though!

CommentFileSizeAuthor
#7 groupContext.patch804 bytesPatrizio
heartbeat-group_get_more.patch619 bytesOfflein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Status: Needs review » Fixed

I made a theme function for it. So with the given variables there, you can easily override it and add extra logic to create attributes for instance.
Let me know if that let's you do what you want. It worked for me.

Stalski’s picture

Status: Fixed » Closed (fixed)

if this is not enough, we reopen this one.

Offlein’s picture

Status: Closed (fixed) » Needs work

Hi Stalski .. the "Older Messages" link simply does not show up in the MembersActivity stream for me, with the latest release.

Stalski’s picture

Did you do cache clear?

Stalski’s picture

Status: Needs work » Active
Offlein’s picture

Status: Active » Closed (fixed)

That must've been it. I apologize. I can't verify because I upgraded to the newest version since then, and now it's working.

For anyone who's trying to make their Group thing work as I am, I overrode the theme_heartbeat_stream_more_link function and added this in the middle:

if ($group = CUSTOMFUNCTIONTOGETGROUPCONTEXT()) {
$attributes['query'] .= 'group_nid='.$group->nid;
}
elseif ($_GET['group_nid']) {
$attributes['query'] .= 'group_nid='.$_GET['group_nid'];
}

This works.

Patrizio’s picture

FileSize
804 bytes

I have the same problem with 6.x-4.x-dev
Here is my patch

Stalski’s picture

Thx, I added to git.
I must say I changed to order as the GET seems more important and the heavy module_exists function is not called that often