Group context to use as views contextual filter

Created on 1 February 2023, almost 2 years ago

Problem/Motivation

As administrator I like to keep the group title, group header image (reduced size) and group menu visible in the pages of group content.
This improves the UX because it makes navigation and recogntition of parent group(s) easier for the end users.

The feedback that I receive from websites in which I used OS, is that navigation is not intuitive because of the absence of a consistent group menu that should appear in all group content.

The reasons why this has not been implemented in OS has been discussed for years, which is as far as I understand:

  • The group module did not come up with a solid patch for this, although discussion is happening here: https://www.drupal.org/project/group/issues/2815971 📌 More contexts needed Needs work
  • and here https://www.drupal.org/project/group/issues/3112501 Add views contextual filter to get group ID from either URL or group content Fixed

  • Since group content can technically be part of multiple groups (group cardinality), the question is how to serve the group context as being more than one group.

Suggested solution

In my experience, the priority for a parent group, if only one group context header is wanted, should be based on the most recently used group context. This is most logical for the end user. At the same time, a smaller notification/subheader of 'other groups this content is part of' can be useful.

The patches posted in the issue mentioned above, apply to Group version 3.x (which for example uses group_relationship' entity type), while OS is still using Group version 1.5 in all its current releases, as far as I understand.

I'm not sure if the OS maintainers have this issue on the roadmap, and where discussion about this is happening.

💬 Support request
Status

Active

Version

11.7

Component

Groups

Created by

🇳🇱Netherlands Yuri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024