Posted by YK85 on November 9, 2010 at 9:23am
14 followers
| Project: | Voting API |
| Version: | 6.x-2.x-dev |
| Component: | Views Integration |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I was wondering if this module is compatible with Views 3?
Below are a list of contrib modules and patches included for Views 3 compatibility:
CCK - http://drupal.org/node/670344
Flag - http://drupal.org/node/673508
Content Profile - http://drupal.org/node/670092
Better Exposed Filters - http://drupal.org/node/641964
Project - http://drupal.org/node/716656
Project Issue Tracking - http://drupal.org/node/716658
Hierarchical Select - http://drupal.org/node/729858
Date - http://drupal.org/node/698522
Thank you
Comments
#1
subscribing - also interested in using this with Views 3 + Fivestar module
#2
I've tested it with Views 3 under Drupal 7, and the code in D6 is no different for Views integration. So it should all be good. I'll test it directly later this week.
#3
thank you
please kindly refer to thread #971334: Appearance settings with views-6.x-3.x-dev are not saved
#4
subscribing
#5
The current VotingAPI release is Views 3.0 compatible. Huzzah!
#6
Automatically closed -- issue fixed for 2 weeks with no activity.
#7
Was this fixed for D7 or D6? I'm assuming it wasn't applied to D6 since the last dev release was two months before this was reported fixed?
#8
#9
Subscribing...
#10
#11
Has anyone had any development with Views 3 compatibility?
#12
I have installed the newest version of Views 6.x-3.x-dev and the 6.x-2.x-dev but its still not working. Can anyone please I need this :(
#13
Agreed. Still not views 3 compatible. Definitely a wanted feature.
#14
subscribe
#15
I ran into this issue as well :-/ I spent some time on it and I was able to track it down to the implementation of hook_views_data in votingapi.views.inc. It looks like the function isn't returning a complete array... primarily it seems to be missing the table join information to join it to the node table. I was able to update enough of it to get something that worked for me, but the attached patch is not a 100% fix and it might not be 100% proper, but hopefully it'll be a starting point for the fix.
#16
Here is the patch...
#17
Subscribe
#18
I tried the patch in #16 and it didn't give seem to work. And now I'm getting mysql errors.
#19
Here is the error I get with the new sort criteria given by the patch:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'votingapi_cache.content_id' in 'on clause'