In my view I have a filter "Domain Access: domain is one of: ". You can choose between current domain, or each of the available domains. However, it would be much neater to have the option "all domains" which ensures the view always looks across all of the sites to build the view.

Comments

agentrickard’s picture

You can also accomplish this for a Views page by mapping that page path in the "Special page requests" setting.

For example, a View at path foo/bar would be entered as 'foo/bar' under the list of 'special page requests.'

I actually didn't write the Domain Views module, so I'd love to see a patch for this.

skizzo’s picture

As a workaround, I defined a fictitious "null" inactive domain.
Then filtered all real domains with option "Is None Of" "null",
so that I don't have to edit the View whenever I add a domain.

gcassie’s picture

agentrickard, this worked really well! Thanks for the suggestion. I'm using it for og/my and forum to let those work over all domains.

agentrickard’s picture

See also http://drupal.org/node/250750 for more discussion.

agentrickard’s picture

Version: 5.x-1.2 » 5.x-1.4

Need to get this incorporated into the main module.

agentrickard’s picture

Status: Active » Patch (to be ported)

In D6, we have added an empty domain that can be used with "Is not one of" to account for this case.

nonsie’s picture

I've actually added a modification to my own version of Domain Views since in most cases I either need to display nodes published to all/published to all or current. I'll see if I can get any comments regarding how I implemented my hack for Views 2 from merlinofchaos and if there's any better way to accomplish it. It's not pretty but gets the job done.

agentrickard’s picture

Status: Patch (to be ported) » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.