I searched thru issue queues and still can't figure if it was achievable with Domain 7 or not. It wasn't in D6.
What I want is to show some nodes from SiteB, C, D (subdomains) on SiteA (main site) using Views.
Tried all possible variations with Filters and Relations. No vain.
User won't have a clue that there are subdomains (reasons to navigate to them) visiting the main site.
hello brick wall
P.S. i don't want content of SiteB to be shown on SiteC only on SiteA. So adding special page requests or publish to all affiliates won't help. SiteA (main) domain is sort of aggregates content or rather features from subdomains.

Comments

agentrickard’s picture

In Views 7.x.3, I believe you can "disable" node access for a View. That should do what you want.

mefisto75’s picture

Thank you for the support.
I don't seem to get it.
I have a subdomain with some content. Main - has none.
I go to create a view from the main domain (which has no content). Put no customizations - no filters and no access restrictions, nothing.
And nothing appears.
View doesn't pull content from subdomain. And it probably shouldn't since content belongs to the other site (subdomain). (?)

mefisto75’s picture

Issue summary: View changes

added explanation

rolfmeijer’s picture

You disable SQL rewriting in Views (under Advanced in the Query settings) so node_access is disabled.
I’ve written a blog about how to do this, see http://karu.nl/blog/display-nodes-from-multiple-domains.
Because you disable access checks this has security risks and you need additional filters to control the output.

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade.

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support of this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project, including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.