Pulled this to a new issue, because this feature is very useful. Maybe someone will find a solution.
Start of discussion is here http://drupal.org/node/496938#comment-1748676

Views can help make lists with content gathered from all sites, without changing sites assignment to domains. And apply this rules to a particular view without touching other blocks, views, ect. You can make tracker lists, user lists, profiles and ect for all or particular domains.

CommentFileSizeAuthor
#1 domain_adv_no_views_rewrite.patch1.13 KBthreeps

Comments

threeps’s picture

StatusFileSize
new1.13 KB

I came across the same problem described above. I wanted a tracker view that compiled nodes from multiple domains, even though the nodes were published on a different domain. My temporary solution was to change the hook_db_rewrite_sql code of Domain Access Advanced to first check if the SQL query already references the domain_access table. If it does, then the query is left as is. This way, if there are no domain_access filters in a View, then everything works as usual with Domain Access Advanced (ie, the view only shows nodes for the current domain). However, if you add a domain_access filter, then my change will prevent any other restrictions from being added, so you can use the view interface to control the domain access conditions.

This approach is working for me, but it is probably not the best solution and may have some unintended consequences that I have not found yet. Attached is a patch against 6.x-1.0-rc1 that implements these changes. Feedback on a better way would be appreciated.

theoracleprodigy’s picture

The patch seems to work but only for authenticated users. If you are not logged in the views are not present. I really wish this was resolved.