drupalfun.com
Custom Views Filters
Submitted by dallas.ramsden on Thu, 06/11/2009 - 03:14
Status:
Open Question:
I simply want to list users that have given a "thumbs up" on a node, under the content of that same node. It should be achievable using views. But I can't figure out how to do it.
The thumbs up database table is simple:
(nid, uid)
When creating the view I simply take the current node nid as an argument. Easy enough.
But how then do I filter to show only the users that have an entry in the "thumbs up" database table?
I have looked over the views documentation thoroughly but I can't understand it.
Some one please point me (and others needing it too) in the right direction!
Thank you, very much!
-Dallas
P.S. This is only the first step. Once I figure this out, I will be displaying the users' thumbnail images from their content profile. (:


1. I'm not sure how to write a
I'm not sure how to write a custom filter.
However, maybe you can use a PHP custom argument. Take the node argument from the args() in the url and convert it to an array of uids.