Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [group]

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

0
votes
0answers
11 views

How to hide menu links for specific groups in the Open Social distribution [closed]

The Open Social distribution uses the Group module and for pages displaying group content, a group menu (tabs) is displayed. The tabs are configured in the file social_group/social_group.links.task....
0
votes
1answer
15 views

Relate Content to a Group feature when creating a node outside a group

In my drupal site, I'm using the Group module. My problem: I created a regular Drupal node type, let's call it userpost I created a group type called "usergroup" The content type "userpost" is ...
2
votes
1answer
52 views

Use node edit form layout for other entity types

The node edit form got a nice overhaul for Drupal 8's default admin theme, whereby a lot of the metadata fields like Revisions, Meta Tags, URL Aliases, Publish status, Promote status, etc are moved ...
0
votes
1answer
22 views

Groups and Private File Visibiility

I have created a content type Agenda - the body is paragraphs - there are two types: (1) Text and public files and (2) Private Files. The fields work properly - Anonymous cannot see Private Files. ...
2
votes
2answers
26 views

How to translate Groups in a multilingual site?

I have created a new grouptype and added some fields to have a "site". And then created a new group with this grouptype. I edited the overview site with some information. Now I would like to translate ...
1
vote
1answer
44 views

How to create entity relation of counselor to client?

I'm trying to create a relation in D8 between a counselor and clients. The counselor would have to record counseling hours for each client. I've looked at the group module, even building the ...
0
votes
0answers
28 views

How to get the group entity for automatic entity label when creating nodes?

When creating a new node, you can assign it a group (group project). I need the group field's value to put into my node title. The problem is, there is no token to use within AEL for the group and ...
1
vote
1answer
40 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
121 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
19 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
21 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
84 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
42 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
139 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
51 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
10 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 ...
1
vote
1answer
49 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
56 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
16 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
270 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
24 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
267 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
34 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
1answer
39 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, ...
1
vote
1answer
207 views

Show a different view mode depending on role

Using the Group module, when a user views a group, I want to use 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
48 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
97 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
81 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
44 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
245 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
73 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
25 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
59 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
86 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
62 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
230 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
34 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
234 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
34 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
161 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
87 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
161 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
742 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
945 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
83 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
194 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
62 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
46 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
1k 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,...