The patch below appears to allow HeartBeat View to play dice with Views 3. Not being overly familiar with the nuts and bolts of Views 3, I'm not sure if this is the best way to accomplish integration, but it's got me started.

Basically, adding a bunch of public variables to the HeartBeat class replicating the existing db table variables but prefixed with $fieldalias seemed to do the trick. It would seem that assigning a value to a variable that didn't exist in the class definition was failing and hence Views was getting no data.

Members fund testing for the Drupal project. Drupal Association Learn more


Feng-Shui’s picture

Patch attached.

Exterminans’s picture

383 bytes

Fix for Notice: Undefined property $view::pager in line 222 attached

Exterminans’s picture

379 bytes

edit: patch was wrong way

chrislabeard’s picture

I'm trying to run these patches but when I run the last patch heartbeat_views1.patch.

It gives me

patching file views/
patch: **** malformed patch at line 11: }
xtfer’s picture

@Exterminanus, your patch is not related to this issue. Please open a new one.

xtfer’s picture

Status: Needs review » Reviewed & tested by the community

I have the patch in #1 working with Views 3.

chrislabeard’s picture

Seems to be working fine except I'm unable to get the user picture in views.

chrislabeard’s picture

Well it was working for me and now all the messages are blank again.

HongPong’s picture

This #1 patch worked great. RTBC for sure, you can't get the Views 3 to work without it! Lets Roll +10000000