Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Use it for questions related to the Group module, not the Organic Groups module.

1
vote
1answer
24 views

View Members Tab of a Group

So I've had my first taste of Drupal Group, and it looks really promising so far. Now I may be missing something totally, but if my user (testuser1) is a member of a group with 2 other members, why ...
1
vote
0answers
48 views

Filter a view by the Group ID of the current logged in user

I have been looking for an answer for 3 days with no success. Looks like this is a common requirement among plenty of Drupal 8 projects with not a single answer accross the internet about how is ...
0
votes
0answers
12 views

REST request in Group content

Group module is a very helpful module for content-sharing site, especially when dealing with groups and permission. But I dont see any good documentation what is the proper way of sending a successful ...
0
votes
1answer
18 views

Display a view block on multiple pages

I have a block that I want to display on /group/*. That is working, but it is also displaying the block on /group/*/editwhich is pretty annoying and unwanted. Is there a way to restrict that ? ...
0
votes
1answer
51 views

How to insert the title of the group in a message?

I created a custom module using the example in: https://www.drupal.org/project/message When a node is created, it is associated with a group: https://www.drupal.org/project/group Here is my module....
0
votes
0answers
24 views

FullCalendar integration with group

I know, FullCalendar work with content types, but can it work with group module? I'm trying display group events by start/end fields, but FullCalendar don't integrate with group.
1
vote
2answers
41 views

How to get the id of a group when using the Group module?

I'm using the Group module. How can I get the id of a group whose a user is a member (I have the user id)?
0
votes
0answers
20 views

HTML Around Group Title

When I create a group, the HTML around the group title isn't parsed. Even if I change those tags, it isn't parsed. Is there some filter I'm unsure of the whole page is running through or is this some ...
1
vote
0answers
47 views

Can a view show all the content of groups to which a user has access?

This may have been answered before, but I am not sure how to search or ask for it. My Group knowledge is very limited, and I am not seeing a way to do this in Views at a glance. When a user logs in ...
0
votes
0answers
9 views

Profiles and group integration

Iam Using Group module drupal 8 together with profile module. profile module does not add any permissions for profile creation for the group members. I need to restrict users of certain roles from ...
0
votes
0answers
20 views

Group content is not saved during a migration

I'm running a migration and trying to relate imported content to some group but the relation is not saved. I already created a module which creates the relation when a form is submitted and it works ...
-1
votes
0answers
25 views

User download history

I'd like to use Group (NOT Organic Group) module in a Drupal8 setup, hoping to create a permission system so that a certain group of users can access and download pdf (residing in private folder) Is ...
0
votes
1answer
23 views

Select groups to relate the node to directly in the node creation form

An admin who wants to relate a node to a group can go to the group and then create a node from there (/group/{id}/node/create) . The node is then assigned to the group. Or she can assign a already ...
0
votes
0answers
45 views

Mixed entity types. How to create a view of nodes and groups?

I want to create of view of nodes and of groups (group module). Being different entity types I am not sure if this possible. Is there a method by which this could be done? There is no specific ...
0
votes
0answers
12 views

Azure AD role mapping

I intend to use openid_connect_windows_aad which connects correctly to AAD and I can get user claims, however I miss the role mapping feature something similar to ldap module. Has this feature been ...
1
vote
1answer
134 views

Custom route using access check error with arguments

I have a custom route that needs to check if a user can create a certain group_node:article content inside a group (from the group module 8.x-1.0-rc2). The setting is as follows: mymod.routing.yml ...
0
votes
0answers
19 views

How to enable revisions of group module

I want to send an email weekly to the website admin about the changes made to the group. For example, if one group has change the contact number then at the end of the week an email will be sent to ...
3
votes
1answer
97 views

How to add custom entities to group types?

I'd like to add my custom content entity to my group types, just like the module's "group node" plugin does already with nodes bundles. Has anyone done this? There does not seem to be much progress ...
0
votes
0answers
31 views

Performance of group module with thousands of groups

I am planning to make use of the group module and let site users create and maintain their own groups. This will lead to thousands of groups. I am wondering whether site performance would become a ...
0
votes
0answers
30 views

Account Settings Manage Fields tab is not working after deleting Field Group

Account Settings Manage Fields tab is not working after deleting Field Group, the other tabs are functioning perfectly: Settings, Manage Dependencies, Manage Display. Only Manage Fields is not working....
0
votes
1answer
37 views

How to send an email once a new member is invited using the Group module?

I am using the Group module on a Drupal 7 project. I would like the system to send an email notification once a new member is invited. I'm assuming I could use the Rules module to perform this task, ...
0
votes
1answer
126 views

Show a different view mode depending on role

Using the group module, when a user views a group I want to show a different view mode depending on whether the user is a member of the group or not. Conceptually this is almost identical to showing ...
0
votes
1answer
42 views

Group Module: Join & Remove users from user account/profile 2?

I added an entityreference to the user's Account so users can select what group they want to join (checkboxes). They check it and via a rule, it automatically adds them to that group. I did this for ...
0
votes
1answer
77 views

Redirection after adding new groups and gnodes using group module

I am using Group module and Drupal 8. After adding a new group, the page will be redirected to the corresponding group page(ie. /group/5) but I want to change it to be the group edit page (ie. /group/...
0
votes
1answer
78 views

Add Field as Entity in Group Module

The group module is an alternative to the og module. The og module allows you to assign permissions to fields per group. I would like to be able to do the same thing with the group module. It ...
3
votes
1answer
36 views

How are access permissions prioritized when multiple modules implement them?

I have the Group module setup where I only allow view permission for group content to group members, so I have closed groups. But additionally, I want groups to also make some content public to non-...
1
vote
1answer
180 views

D8 - Remove member from Group programmatically

Using Group module for D8. What is/are the function(s) to remove a user from a group using the User ID and the Group ID?
1
vote
0answers
66 views

Contextual filter with group ID and group name

I have a page view which is currently using a group id as a contextual filter. This is working. However, I am trying to achieve a 'friendly url', so the url should contain the group name, rather than ...
0
votes
1answer
24 views

Schema for group module

I have installed this module and I assume that this works not only in the regular content type but also in the group module. I was expecting that after enabling the module there is an option to map my ...
0
votes
0answers
56 views

Email notification to user about group content modification

Am using Group module in drupal 8. In that, I have a requirement to provide email subscription option for Group Group Node Any create/update in the above subscribed will notify the user. I have ...
1
vote
1answer
69 views

How to restrict group node access to a user/member of an group?

I am using the Group module and I have created a group called "Group-Y" and group type "Group-type-Y". I also defined a group role name "Admin". Added an member with role "Admin". I have checked this ...
1
vote
1answer
55 views

How to show new nodes in a Group node view for users who are not a Group member?

In my Drupal 8, Defined New User Role: Manager Added one user into the role. I have created a group "Group-x" with corresponding group type "Group-Type-x". I have updated the permission(view, edit,...
0
votes
1answer
187 views

Why is migration lookup failing during synchronisation of Group entities?

On the basis of an RSS feed, I am required to create Group entities and Users out of the feed's items. Each item contains sufficient data: <item> <id>123</id> <title>An ...
0
votes
0answers
31 views

Group Operation Create Link in Views

I have an view which display group by content(basic pages, article and forum). I need to have an create content link. i.e., if suppose am in article group view, it should have create article link. i ...
1
vote
1answer
164 views

Grouping content types in group nodes

I have created 2 different groups and updated content(basic pages & article) using group module in my drupal 8 project. Currently it is listed in nodes tab of group. I have used an view module ...
1
vote
0answers
33 views

View of groups available to join

My site has different types of groups. Some allow registered users to join, others are by invite only and the existence of the group is not publicised. I want to make a view (or block) of groups that ...
1
vote
1answer
118 views

Restricting “view content” to members of a group

I would like to make a site with content that anonymous users can read, and private content that only group members can read. How do I achieve this? I have installed Group, but any group content I ...
1
vote
2answers
82 views

Display content by specific groups of users

Is it possible to display content by a group of authors without using a group module? I like the group module, but it's much more complex and robust than what I need it for. Synopsis: We need to ...
0
votes
0answers
143 views

Create public or private nodes in groups

1) On my drupal 8 site, I use the "Group" and "Flags" modules. How do I create public or private nodes in groups? if the node is private, it is displayed only to the member of the group. if a node ...
1
vote
2answers
536 views

Adding members to a group dynamically in Drupal 8

I am trying add members to a group programmatically using Groups module in Drupal 8, and I am doing the following to achieve this: use Drupal\Core\Entity\ContentEntityBase; $roles = array('test_role')...
1
vote
3answers
569 views

How to get group ids by ids of elements of group content?

I use the Group module and I have created several groups and assigned several nodes as content of these groups. For example, I know id of some node. How can I figure out which groups contain this ...
1
vote
0answers
59 views

How to show the actual node on a group-content page when using the Group module?

Creating a new group-content in Group module on Drupal 8 generates a normal node without any "live" context to the group. So viewing this node does not allow the group-actions block to work. If you ...
0
votes
1answer
132 views

How do I get a parent-group alias as token for the Pathauto module?

When a user sets his groups alias to lets say "mynewgroup" you can view the group at www.example.com/mynewgroup. How to set pathauto presets to create www.example.com/mynewgroup/mynewgroupcontent as ...
0
votes
1answer
54 views

How do I show the members in a block, contextually filtered by the currently logged in user?

In my project every group member will only ever belong to a group; some group members have the Group Administrator role. I would like to create a view block to satisfy this story: As a user with the ...
1
vote
1answer
43 views

How to define profile types per group type in the Group module?

I am working on a site where I am just starting to work with the Drupal 7 version of the Group module. The groups and roles stuff is fine but can I define a profile type per group type? eg. Group ...
0
votes
1answer
935 views

Hook into Group module

I'm creating a module for Drupal 8 that will auto fill some content in a add content page. Now I need to have a way to group different contents in one group. I found the Group module that does the job,...
1
vote
0answers
46 views

How to associate products and purchase orders with the group?

How to associate the product and purchase orders with the group ? I use drupal 7 and the following modules : https://www.drupal.org/project/commerce https://www.drupal.org/project/group It is ...
0
votes
1answer
183 views

Paginated list of group members

I want to output the membership of a drupal group, but limiting the number of members shown, instead of outputting all members at once, (that i can do with the code bellow). $members = $group->...
2
votes
1answer
677 views

D8 Programmatically add new role to group member

Trying to update a group membership to add an additional role, but cannot find any help on how to do this. I want to add the role of "manager" to all owners of "client" type groups, using the ...
0
votes
1answer
77 views

User is notified when new content is created using Rules

I created two groups in one group type. Job Post Business Each group has its own content type(same label) and group permissions. User Story: "As a user(Job Post) I would like to be able to create ...