"No posts in this group" when view is changed from og_ghp_ron to custom view

Created on 5 November 2010, about 14 years ago
Updated 27 October 2024, about 2 months ago

I created a custom view for my groups, and then set this view as the default view for organic groups in organic groups configuration. My custom view contained just the group node, with a separate view for group posts. All was well, except that I had to manually also change the links inside the other views, like the list of groups, (View with path "og") until I checked the individual group nodes. Now, when viewing an individual group node a message "No posts in this group" appears (there are definitely posts in this group.)

I came up with kind of an ugly work around, of hacking og.module to change the message "no posts in this group" to instead say "View group page" with a link to /og. Although in the context of this site is unlikely a user will belong to more than one group, this is messy, and requires an extra step for the user.

πŸ› Bug report
Status

Closed: outdated

Version

2.1

Component

og.module

Created by

πŸ‡ΊπŸ‡ΈUnited States jenyum

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024