How to create views that displays items from non-subscribed group.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
drs2034's picture

Hi, I have a use case where I need to display some of that news items in views to everyone even that person is not part of that group.

Basically, In a homepage I have a news listing which will list all news items that user is member of. I used and modified OG's built in views (OG all user group content) to list news that user is member of but there are cases where we want to show some important news to all users even if they are not part of that group. So in a news content type I created new checkbox field called promote to homepage. But I just don't know what modification do I need to do make sure that news item is published to everyone in homepage using 'OG all user group content' view.

Any help is appreciated. Please do suggest if there is any alternative solution.

Aim is to get the news listing in homepage with
- list of all news items that user is member of
- and also show some news item to everyone even if user is not member of that group when checkbox (promote to homepage) in news content item is ticked

Thanks,