Views - how to sum a vote ?

asmo75 - January 27, 2009 - 16:02
Project:DrupalIt
Version:6.x-1.4-beta2
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

hi

i want create view ordering by number of vote ? how can I do this ?

#1

xtian_chin - February 18, 2009 - 09:07

Me too.
Did drupalit support api to views.

#2

kirkcaraway - March 1, 2009 - 14:56

I'm looking for this too, since Voting Actions module has not been updated for D6. Ideally I'd just like a solution that allows nodes to be promoted to the front page, but would settle for something where I could filter my front page view to only show nodes with a certain number of votes. Thanks.

#3

apanag - March 8, 2009 - 22:46

I am working now on this. I ll post asap.

#4

kirkcaraway - March 10, 2009 - 22:02

Thank you. I'm getting close to launching a new site and I really need this functionality. Thanks again.

#5

jabberwok - March 15, 2009 - 02:11

me too

I need to sort using votes cast so the one with the highest goes to the top etc..

In views there are voting api result and voting api vote relationships but I just cant get them to do anything

#6

marvix - March 15, 2009 - 08:58

for my with voting api:value, shows always NULL for the nodes, but its there more than 100 voted node which i can see it in the statics of drupalit page!

Did it work for anyone, if yes would please export the views and post here please !!!!

#7

apanag - March 16, 2009 - 00:13

You can check the .dev version now. I have implemented better Views2 support.

Please test it, and provide some feedback.

Thanks apanag.

#8

Phate - March 20, 2009 - 00:18

I tried with the last dev version and views 2. Added the relationship "Voting results" and then tested with fields. It works, but when I try to order the list of nodes using "Voting API results" -> "Value"... nothing changes.

Maybe I'm missing something, but t should be the correct procedure.. please help!

#9

blure007 - April 6, 2009 - 22:48

I seem to have the same issue. I can sort Style as table with default sort as voting API it works but if I try to sort using Sort criteria it doesn't.

#10

apanag - April 12, 2009 - 20:09

Yeap, there was a bug with the voting criteria. I just updated the .dev module.

Please check with the new code.

Thanks,
apanag

#11

executex - April 14, 2009 - 04:49

The April 12th DEV edition, does not work with sort criteria "voting api: vote results", I am using Views 2.4

#12

executex - May 21, 2009 - 21:11

I guess the maintainer for this module abandoned the project. Kind of sad actually since it was such a simple fix just to get views to work with DrupalIt.

 
 

Drupal is a registered trademark of Dries Buytaert.