I think this module is busted with 5.x-1.6 version of views - it was worknig fnie, just upgraded and now busted.

No error msgs just no nodes from the union show on primary view.

Comments

liquidcms’s picture

ok, perhaps simply some odd setup thing.

I reverted back to views 1.5 and my union views are still busted - I know it worked at one point.

will keep digging.. and i guess look at SQL that it creates.

liquidcms’s picture

Title: borken with latest views module » broken with latest views module

ok, i think i was confusing how this works with views_fusion. I had thought that you only added a view as a sub view to your existing view, i.e.

- create primary and set union to sec

But now i think, but not sure, that you actually cretae 3 views , third as the union view:

- view_pri
- view_sec
- main_view: which is union of pri and sec.

BUT.. this desnt work either. I read bit about top view has to have filters used in subviews - do this count for arguments as well? Does this even support arguments - so that would be the same as a filte - so in union view i need to have argument to filter on my arg being in the PRI field AND another arg for arg being in SEC field?

but of course that doesnt work either..

sadly i think final solution here is simply going to be to add both arg filters to one view and then do a query substitution to relpace AND with OR.

liquidcms’s picture

Title: broken with latest views module » how to get this to work

yeaaa baby.. ok, i think i got it.. and i guess simple really ????

pri view:
- filter on arg as being in Primary field (noderef field)
- called news_pri with url = news_pri

sec view:
- filter on arg being in Secondary field (a second noderef field)
- called news_sec with url = news_sec

main view
- no args set up at all !!
- called news with url = news
- union of pri and sec views

sweet...

Anonymous’s picture

Status: Active » Closed (fixed)
rconstantine’s picture

Category: bug » support
Status: Closed (fixed) » Postponed (maintainer needs more info)

I still don't get it. The comment in #3 is still confusing me. Could someone provide screen shots of three complete views setups? Seems to me that would be the easiest way to show people how to use this module.

The best screen grabber I've found is Screengrab!, which is a Firefox add-on. It allows you to take shots of complete web pages that go off the screen; perfect for shots of Drupal admin pages.

Thanks.

liquidcms’s picture

pretty old post.. will need to do some digging. can likely post screens later tonight.

rconstantine’s picture

If things have changed, then I guess I'm after new screen shots. I'm simply struggling with the setup - i.e. I think I've done it as explained but not getting results. See my other issue.

Thanks for looking into this. I look forward to your screen shot post.

1kenthomas’s picture

If it helps: use the current release, not the dev versions.

1kenthomas’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing; // outdated.