Im creating a view that shows a users content of a specific type and using the block view to show it on their profile.

This view only seems to return content from the current subdomain and not across all of the subdomains. Is it possible to show all content regardless of where its posted to?

Comments

agentrickard’s picture

Not with Views at the block level. You can do this at the page level, or you can write a custom block that bypasses node access (thought that may be a security issue for you).

agentrickard’s picture

j0k3z’s picture

I tried adding that code and it didnt seem to change anything.

There is a 'filter' in views for Domain Access that lets you choose to return only content from the current domain. If this filter isnt on shouldnt it show a users content across all subdomains?

agentrickard’s picture

No. Node Access prevents this unless the node is assigned to 'all affiliates.'

agentrickard’s picture

Status: Active » Closed (works as designed)
othermachines’s picture

Component: - Domain Views » Code

If anyone else is wondering, try this:

1. Install http://drupal.org/project/views_ignore_node_permissions

In your view:
2. Enable the filter "Node Permissions"
3. Enable the filter "Node Access: Access"

What you essentially end up with is a scheme that overrides all but core node access controls-- Domain Access controls are excluded. Sweet!