Skip to content

Improve the "OG content" view #80

@olafgrabienski

Description

@olafgrabienski

The "OG content" view is supposed to show all content of a group. During my OG tests, I've noticed two issues:

(1) Out of the box, a block to place the OG content view in a layout isn't available. There is a workaround: creating the missing block, but it's not so easy: In the block display you have to change Block settings > Contextual filter input (data sources for contextual filters) > OG membership: Group ID source to "From URL" and "URL position: 2" (the latter corresponds to the node ID in node/NID). So, having the "OG content" view as a block display (and with the correct settings) by default would facilitate the configuration of Organic Groups a lot.

(2) When you post a content item to multiple groups, the item appears multiple times in the "OG content" view of each group. To display it only once per group, you have to change the view's "Query settings" to "Distinct". Is this the right fix, or should the provided view be configured differently at another place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions