Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.11
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2010 at 14:34 UTC
Updated:
23 Oct 2010 at 19:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
danny_joris commentedTo be clear: I want all these fields in the same view, as I need to randomize them all.
Comment #2
merlinofchaos commentedI don't think there is a way to do this with Views because of the way taxonomy terms work. You need an OR, which isn't really supported by Views 2 at all, and taxonomy terms don't play nicely with the Views OR module. It might be possible in Views 3 with the OR conditions.
Comment #3
Anonymous (not verified) commentedArgh you got me wanting to know the answer now after our IRC chat!
Found this:
http://sethsandler.com/software/drupal-6-creating-activity-stream-views-...
(discovered here http://drupal.org/node/726252#comment-2994594)
Comment #4
danny_joris commentedI've been told that hook_views_query_alter might work so I added this in a custom module:
See attachment.

Would it be possible to add a second array to the "where" array? I also wouldn't know how to fill out the %s replacement patterns...
Comment #5
danny_joris commentedWow, you guys are fast :) Tnx
Comment #6
dawehner@Danny
Does the link at #3 helps you to solve the issue, so this can be set to "fixed"?
Comment #7
danny_joris commentedI'm trying to use #3 - for now without success.
I have this for my custom_views.module.
For now it only outputs the twitter feed nodes. I also need the news_item titles.
Views settings screenshot in attachment.
Comment #8
danny_joris commentedI've been juggling around with the field settings and the Union Query order for quite a while now, and I must come to the conclusion that it probably is not going to solve my issue. The output is just too messed up.
Thanks for your feedback, everybody! I appreciate it.
Comment #9
danny_joris commentedAh, and in #4 I accidentally added a wrong screenshot. This is the correct one.
So it's not possible to add a second array to "where" , right?