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
Comment #1
agentrickardNot 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).
Comment #2
agentrickardSee also http://www.stellapower.net/blog/creating-node-view-which-bypasses-access...
Comment #3
j0k3z commentedI 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?
Comment #4
agentrickardNo. Node Access prevents this unless the node is assigned to 'all affiliates.'
Comment #5
agentrickardComment #6
othermachines commentedIf 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!