Problem statement

I tried to show a block (Group operations) which would help me assign a newly created node to a group - using the regular drupal functionality.

But:
As an Admin or person who is assigned to multiple groups it is "work" to create a group node:
You have to open the groups list, click through the groups list, select the appropriate group. Go to group content, select to add group content, select which group content, ... to just add a node.

Desired functionality:
I would like to add content the normal drupal way: menu/add content.
Once on the node edit page of the new node (under node/add/*) I would expect a block that shows me the groups I am allowed to add content to. I simply select the group and I would be done!
I tried to place a block (Group operations), but it is not displayed on the form edit page.

Proposed resolution

Use the Entity Group Field contrib module.

See also #2772975-22: Adding node to Group from regular node creation form (/node/add/article, for instance) and #2813405: Add a field to view and edit content's groups.

Comments

maxilein created an issue. See original summary.

maxilein’s picture

Issue summary: View changes
maxilein’s picture

I would like to add another question which seems to go "hand in hand":
how do I create a group node using Restful Services JSON?

maxilein’s picture

Title: UI: more easily selet group for a node » UI: more easily select group for a node
oriol_e9g’s picture

Yes, when I go to node/add/* or node/*/edit I expect a field_group with a group list selector.

oriol_e9g’s picture

Project: Group » Gnode
Version: 8.x-1.x-dev »

This is a work for group node.

oriol_e9g’s picture

Project: Gnode » Group
Version: » 8.x-1.x-dev
Component: User interface » Group Node (gnode)
oriol_e9g’s picture

jpoesen’s picture

Status: Active » Closed (works as designed)

Duplicate of #2772975: Adding node to Group from regular node creation form (/node/add/article, for instance) where the reason for not adding this feature is explained.

jwilson3’s picture

Component: Group Node (gnode) » Code
Issue summary: View changes
Related issues: +#2813405: Add a field to view and edit content's groups

For anyone coming here from Google/search:

Comment #22 on related issue #2813405 points to another contrib module called Entity Group Field for the solution architecture.

Studying the Entity Group Field module’s summary page, it appears that the module may be the working, but unofficial, fix in contrib for this issue.

As a side note, this feature was implemented in Entity Group Field via the following issue

#2813405: Add a field to view and edit content's groups.