Views and voting API
I am trying to create a Q&A system in drupal 6 using views, updown module and voting API.
I have assigned a content type questions, and allowed the comments to have updown voting - the comments act as answers in this case.
The node itself (the question) does not have voting at the moment and probably wont - the idea is to rate the answers rather than the questions.
My problem comes in creating a custom view - my end goal is to sort the comments by their voting score but I haven't even gotten that far.
I have created a new view => comments, then in order to add in the voting score so that the score displays for each comment I assume I need to create a relationship with the voting api. However, the only way to do this is to create it via the node (individual votes) or node (voting results). That seems to however be the voting scores for the node itself and not the comments - none of the fields I add from there on will show anything other than 0 although the comments have scores other than zero.
I am sure this is possible - after all the updown widget attached to the default drupal comments view works fine (just doesn't allow to sort by vote score).
I have been unable to find assistance by way of a tutorial for views - all the views tutorials I can find via google seem pretty basic.
Can anyone point me in the right direction?
Thanks,
Jeremy
