Hello,
as it is possible to choose how many times a group content can be added to a group of the same type, it can be usefull that, when one chooses a Group cardinality different than 1, which is default, it became possible to choose several groups .
Currently, the "Social Group select list" widget that is used to select the group to which content is attached does not seem to allow it and does not take into account other options.

For example, for choosing a public groupe for a topic, even having chosen another cardinality at /admin/group/content/manage/public_group-group_node-topic,

Choose different cardinality

it is impossible to choose multiple groups at /node/add/topic

Choose multiple groups

or to choose another widget at admin/structure/types/manage/topic/form-display

Social Group select list widget

Thanks for your work

Comments

ohmdesbois created an issue. See original summary.

rsbecker’s picture

This is very much needed. A few months ago I tried to solve this issue by creating an entity reference field, field_groups, to accomplish this. The problem that causes is you must rebuild all the views group events, group topics, group stream) to use that field, rather than the group relationship.

I think the real problem is that the social_group module treats the value in this field as a single integer. So if you change the field widget in the form to autocomplete, you get an error upon saving that the module cannot handle an array. As noted above, the plugin allows Group cardinality =0, meaning an unlimited number of references, the social group select list should honor that setting.

dajka’s picture

Hi, I think my issue is related to this. I would like to be able to select a different widget type for selecting the group when creating a new topic.

When I enable filed UI i am able to change the widget type, but it changes back to "Social group select list" as soon as I save the form display settings.

I believe this should be an easier fix, as it is only related to the selecting process of the group, not the relationship. I would like to be able to select the group with autocomplete. Any idea? Thanks :)

jaapjan’s picture

Title: Allow the widget Social Group select list to select multiple groups when Group cardinality is different than 1 » Cross-post content in multiple groups
Version: 8.x-3.x-dev » 8.x-4.x-dev

I agree that it would be nice to add this to the distro. It should however be configurable on a per-site basis.

dereks’s picture

I'd love to see this feature added as well.

dmrdesign’s picture

Hi!

When I configured my site, I change some stuff that I don't remember.

So now user can't choose a group, when create a node (even if he is a group admin or member).

But admin can.

How to fix it?

ohmdesbois’s picture

Hey dmrdesign, maybe you changed the parameter from the Open Social configuration in /admin/config/opensocial/social-group ?

iaminawe’s picture

Would also love to see this feature. Thanks!

vnech’s picture

Status: Active » Needs review

Related changes added in the PR

ribel’s picture

Version: 8.x-4.x-dev » 10.2.x-dev
Component: Interaction design (UX) » Groups
Status: Needs review » Reviewed & tested by the community

Proposed changes were reviewed and tested and can be merged after maintainer review.
More details can be found in the Pull Request.

navneet0693’s picture

Status: Reviewed & tested by the community » Fixed
navneet0693’s picture

Version: 10.2.x-dev » 10.3.x-dev

This will be available in Open Social 10.3.0 onwards.

ressinel’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.