Hi

Firstly, kudos to you guys for this marvelous module; it's tremendously powerful and greatly appreciated.

Now, allow me to describe my problem. I am attempting to add a view, of the latest statuses, to the home page of each sub-domain on a website. The sub-domains are handled by the Domain Access module. Each sub-domain also has an organic groups enabled content type, with thousands of nodes created using this content type. Each node then has its own statuses stream. I proceeded earlier to clone the statuses_all view, added a content pane display, and filtered according to the "Statuses: Recipient type (= Organic Groups)" filter criteria. The view pane was then added to a panel page that serves to layout content on the home pages of each sub-domain. The problem now is the view displays statuses from all sub-domains, rather than the current sub-domain only. I should mention: I have enabled the Statuses Domain Access module. How might I filter my view so it only displays statuses from groups that appear on the current sub-domain. There doesn't appear to be a ready-made views filter for the Domain Access integration with Statuses. Any assistance will be greatly appreciated.

Regards,

Michael

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

IceCreamYou’s picture

Hmm. It's been a long time since I looked at this. I know that the Statuses Domain Access module only applies to statuses created after it is enabled, so if you don't have much in the {fbss_domain} table in your database that explains why. You might also need to add a Relationship in your view to the Domains table.

mikeprinsloo’s picture

Status: Active » Needs review
FileSize
738 bytes

Thank you for pointing me in the right direction. Your suggestions were very helpful. I have studied the Views API and created a relationship as you have suggested. It works wonderfully. I am attaching a patch of the changes I've made to the Statuses Domain Access module. Might we have this reviewed and, perhaps, committed with the next development release?

Thank you.

IceCreamYou’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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