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.
This patch will fix it. Dunno if it's the best way though!
Comment | File | Size | Author |
---|---|---|---|
#7 | groupContext.patch | 804 bytes | Anonymous (not verified) |
heartbeat-group_get_more.patch | 619 bytes | Offlein |
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedI 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.
Comment #2
Stalski CreditAttribution: Stalski commentedif this is not enough, we reopen this one.
Comment #3
Offlein CreditAttribution: Offlein commentedHi Stalski .. the "Older Messages" link simply does not show up in the MembersActivity stream for me, with the latest release.
Comment #4
Stalski CreditAttribution: Stalski commentedDid you do cache clear?
Comment #5
Stalski CreditAttribution: Stalski commentedComment #6
Offlein CreditAttribution: Offlein commentedThat 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.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedI have the same problem with 6.x-4.x-dev
Here is my patch
Comment #8
Stalski CreditAttribution: Stalski commentedThx, 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