I was initially confused that newly created nodes within a Group were rendering, basically, blank.
The answer is that group node content must be configured to show the "Content" field as a rendered entity. Since we can field this relationship between a Group and a Node, we must also handle the display mode of this relationship.
Step 1
Ensure you've enabled node types that can be created within a group by navigating to /admin/group/types, clicking the Operations dropdown for a Group type and selecting "Set available content":
Step 2
You'll be sent to /admin/group/types/manage/{{group_type}}/content. Ensure a Group Node for a content type is installed. I've installed Article for my Group type. Click the Operations dropdown for your content type (Article) and select "Manage Display":
Step 3
You'll be sent to/admin/group/content/manage/{{group_type}}-group_node-article/display. Now simply ensure you've dragged the Content field up out of the "Disabled" section, set it's format to "Rendered entity" and it's view mode to "Default" (or whatever other view mode you prefer for your Content Type). You'll also have the chance to adjust any other fields you've added to this Group Node relationship.
I hope this helps others who are getting their heads around the fieldable Group relationship entity (which is awesomely powerful!) Please let me know if I should adjust any terminology here or make any edits. Also let me know if this is the appropriate place for something like this.
Comment | File | Size | Author |
---|---|---|---|
#2 | group_3.png | 38.11 KB | illepic |
group_2.png | 62.79 KB | illepic | |
group_1.png | 37.97 KB | illepic |
Comments
Comment #2
illepic CreditAttribution: illepic commentedComment #3
kristiaanvandeneyndeWhile this solution does work, the underlying interpretation is wrong. The display you are configuring in your screenshots is that of the relationship entity between the node and the group.
So while it's perfectly possible to simply show the node there as well (as you've demonstrated), the idea behind the fieldable relationship is that you also have a page to view that metadata if you wanted to.
This is probably the most confusing feature that was newly introduced in the D8 branch and will be made much more clear in the future. Otherwise great guide, by the way!
Comment #4
kristiaanvandeneyndeComment #5
illepic CreditAttribution: illepic commentedCheers! Makes sense since the relationship is fieldable and we can see it here. Is there a simple solution for redirecting to the created node if it was added via the "Group operations -> Create {node type}" dropdown button? It currently ends on the fieldable relationship.
Comment #6
kristiaanvandeneyndeWe should probably look into adding that.