Closed (fixed)
Project:
Voting API
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2008 at 01:07 UTC
Updated:
6 Feb 2010 at 08:54 UTC
This patch allows Views to join votingapi_vote.uid to users.uid, which in turn allows you to render any user fields for the individual vote, such as user name. Without the patch I was only able to render the uid of an individual vote.
| Comment | File | Size | Author |
|---|---|---|---|
| votingapi.voter_.patch | 730 bytes | mfb |
Comments
Comment #1
eaton commentedChecked into the latest dev, will go into RC3. Thanks!
Comment #3
stinky commentedI'm using 6.x-2.x-dev and I don't see a way of displaying the username instead of the uid through the views interface.
I'm using relationships, but I still can only output the uid.
I'm using a tpl.php file (see http://drupal.org/node/393906) to modify the output, but it's still showing the uid. It shows the name and uid. How can I get rid of the uid and just show the username??
Damn. I always figure out the answer after I post.
I just needed to get rid of the last
print $output;statement to get it to work.