Hi,

I tried to create two blocks in Views to show on the user profile where the first block shows the Heartbeat of the viewed user and the second block shows the Heartbeat of the friends to the viewed user. The problem I bumped into was that the second block showed both the content of the first block and the second block.

I checked the code for Heartbeat and saw that you have a static method for instantiating the HeartbeatParser object and that it is called from the function _heartbeat_group_views_messages with the same parameter 'views_gen'. This I think makes the object remember the old data and is why it is shown twice for me. Is there some special reason for doing this?

Thanks!

Comments

Stalski’s picture

Status: Active » Fixed

Thx for the help. This is correct and i only wanted to separate the views activity streams from the one that come in default. This will be fixed in the next release (nightly already and planning to commit this week).
Giving a unique string from view name with it's current display will fix this problem.

Thx!
Stalski

Stalski’s picture

Hey marcus,

I actually fixed it right away. See http://drupal.org/cvs?commit=263794

Greetz,
Stalski

marcus_johansson’s picture

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.