Does 2.x not have views integration? I don't see widget as a field.
Is there an answer? was views integration removed from 2.x?
+1 for this !
I even created a duplicate of that issue before finding it : #696750: Vote Up/Down View field
Well it's nowhere I can find.
subscribing
adding the VUD as a field in the views is much better than dealing with the node.tpl
Yes, views integration is there. You can add vote fields to a node view (you must add a Node: Vote results relationship first!)
Not asking about views results, but vud widget.
subscribe
in favor of #660258: Expose widgets as views fields, which have patch!
Nice. Adding Vote results relationship does the trick. It would be fine if there is any documentation explaining the same.
Node: vote results relationship: added. Vote Up/Down: Node Widget Node Widget: added
In views-fields.tpl.php print $fields['vud_node_widget']->content; added.
print $fields['vud_node_widget']->content;
Widget is not displayed. that i'm doing wrong? how i must configure relationship?
for now i have:
Value type: points Vote tag: no filter Aggregation function: no filter
P.D. Sorry for my english
Comments
Comment #1
ManyNancy commentedIs there an answer? was views integration removed from 2.x?
Comment #2
zmove commented+1 for this !
I even created a duplicate of that issue before finding it : #696750: Vote Up/Down View field
Comment #3
Flying Drupalist commentedWell it's nowhere I can find.
Comment #4
bassam commentedsubscribing
adding the VUD as a field in the views is much better than dealing with the node.tpl
Comment #5
finex commentedsubscribing
Comment #6
skizzo commentedYes, views integration is there. You can add vote fields to a node view (you must add a Node: Vote results relationship first!)
Comment #7
Flying Drupalist commentedNot asking about views results, but vud widget.
Comment #8
Juryiel commentedsubscribing
Comment #9
jthomasbailey commentedsubscribe
Comment #10
sachbearbeiter commentedsubscribe
Comment #11
marvil07 commentedin favor of #660258: Expose widgets as views fields, which have patch!
Comment #12
sivaji_ganesh_jojodae commentedNice. Adding Vote results relationship does the trick. It would be fine if there is any documentation explaining the same.
Comment #13
dgastudio commentedNode: vote results relationship: added.
Vote Up/Down: Node Widget Node Widget: added
In views-fields.tpl.php
print $fields['vud_node_widget']->content;added.
Widget is not displayed. that i'm doing wrong? how i must configure relationship?
for now i have:
Value type: points
Vote tag: no filter
Aggregation function: no filter
P.D. Sorry for my english