Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I see that in Commons 2, there was support for subgroups and the content would flow up/down the hierarchy, as configured. I see in Commons 7.x how to setup subgroups and I'm testing the way access will flow and how the groups are displayed.
- Will security/access to content flow up/down the hierarchy? If so, how is this configured?
- With subgroups, the Groups page does not display them in their hierarchy, but in groupings. I am using Views Tree, which mostly works. However, it would be great to be able to have them collapsed and then expand them as needed. Can this be added?
Comment | File | Size | Author |
---|---|---|---|
#27 | Full_Crumbs_breadcrumb_in_Drupal_Commons_7.x-3.x.png | 4.45 KB | juan_g |
#26 | Crumbs_breadcrumb_in_Drupal_Commons.png | 3.99 KB | juan_g |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedAny updated re: this issue?
Comment #2
blacklabel_tom CreditAttribution: blacklabel_tom commentedI think the functionality for this came from the OG subgroups module:
http://drupal.org/project/og_subgroups
There is a D7 dev release, but it hasn't been updated in over a year so I don't think that will be appearing any time soon.
I would like to see subgroups in commons 3. Maybe there is a case for porting the subgroups module for commons if enough people want it.
Cheers
Tom
Comment #3
geigerg CreditAttribution: geigerg commentedThere is no porting needed.
http://drupal.org/node/1536178
Comment #4
blacklabel_tom CreditAttribution: blacklabel_tom commentedAh brilliant, I'll give those patches a go and see if there are any problems with commons.
Cheers
Tom
Comment #5
ezra-g CreditAttribution: ezra-g commentedMarking as "normal" to help us indicate which issues are release blockers.
Comment #6
pdeclarens CreditAttribution: pdeclarens commentedI installed and enabled the og_subgroup module
When i create a new group, I find nowhere to stipulate that thius new group is a subgoup...
In administration/configure I find this
Organic groups
OG field settings
Configure Organic groups fields in bundles.
OG permissions overview
Overview of Organic groups permissions.
OG roles overview
Overview of organic groups roles.
OG settings
Administer OG settings.
nothing regarding subgroups....
thanks for your help
Comment #7
ntag CreditAttribution: ntag commentedIs there going to be subgroup functionality packaged with future commons 3 releases?
I don't know if I should use og_subgroups because the module looks like it is not being actively maintained. There are a few patches here and there in 1 issue topic on their open issue lists but nothing has been committed since 2011.
I heard of a taxonomy approach discussed here: http://groups.drupal.org/node/10070
I don't really know how to use taxonomy to create the main group and its sub groups. Does anyone happen to have a tutorial that may be useful in explaining how to create subgroups with taxonomy?
Hopefully subgroups will be a feature to consider adding to future releases in commons.
Comment #8
blacklabel_tom CreditAttribution: blacklabel_tom commentedThere is subgroups integration going on at: http://drupal.org/node/1536178
Looks like its needing some review, I haven't had a change to look it over properly but it looks promising.
Cheers
Tom
Comment #9
pdeclarens CreditAttribution: pdeclarens commentedComment #10
ntag CreditAttribution: ntag commentedsince pdeclarens says this issue is fixed, is it safe to assume that og_subgroups was a smooth installation for creating subgroups in drupal commons?
Comment #11
the604 CreditAttribution: the604 commentedComment #12
pdeclarens CreditAttribution: pdeclarens commentedI confirm OG_subgroup odeos work after hte patch is installed.
Comment #13
the604 CreditAttribution: the604 commentedHey pdeclarens, how did you get your subgroups to work? I'm having the same problem that you posted in #6 of this thread.
Comment #14
pdeclarens CreditAttribution: pdeclarens commentedyes I got it running
You have first to create a new content type, let's call it "subgroup"
in the OGrganic groups tab, make shure that it is treated as a group
The goto add content, choose subgroup, and you will choose in the Your group box the group you want this subgrou^p to belong
It's all done!
Comment #15
ntag CreditAttribution: ntag commentedThanks pdeclarens!
Comment #16
ntag CreditAttribution: ntag commentedComment #18
geigerg CreditAttribution: geigerg commentedMaybe it's to to adress a commons subgroup feature based on OG Subgroups.
Content-Type, Integration in Group-Homepage, ...
Comment #19
Dustin@PI CreditAttribution: Dustin@PI commentedSince this was supported in Commons 2.x, I've added a link to this issue from #1930406: [Meta] - As a site Administrator I would like to upgrade from 6.x-2.x to 7.x-3.? without losing functionality
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commentedI did try to use the subgroups modules, but I think it would be much better if the functionality was more tightly integrated in the Commons groups management. For instance, would use the parent-child relationship that is already inherent to OG in Commons.
Comment #21
aitala CreditAttribution: aitala commentedI agree - I've played around with the D7 dev branch of OG subgroups and it seems to work, but don't understand how to set it up so that a normal user can access the 'create subgroup' functionality via the UI (i.e. w/o going directly to the node/add page). It would be nice to have it in the "Create a Post' popup from the parent group.
I would think that having a groups hierarchy would be a necessity...
Thanks,
Eric
Comment #22
Anonymous (not verified) CreditAttribution: Anonymous commentedChanging to a feature request to have this added to Commons.
Comment #23
juan_g CreditAttribution: juan_g commentedSetting version.
Comment #23.0
juan_g CreditAttribution: juan_g commentedremoved extraneous list item
Comment #24
pinkonomy CreditAttribution: pinkonomy commented+1 for adding subgroups to Commons
Comment #25
juan_g CreditAttribution: juan_g commentedMaking the issue title more specific, given that what people is proposing here is a Commons 3.x (D7) optional feature similar to the Subgroups one that was part of Commons 2.x (D6).
Since Organic Groups, used by Commons for the group functionality, has a new subgroup functionality built-in in the OG version for D7, now it would be much easier than for D6 to add it to Commons as a feature:
Naturally the OG subgroups functionality works already in Commons 3.x as well (at this moment with workarounds for some temporary glitch), but it must be configured by hand in different possible ways. It would be good that a new feature for better subgroup integration in Commons standardized it for future compatibility.
I think it would be enough that the 3.x feature included just the basics in its first version, because that is probably all what many users need.
That is to say, enabling the optional Commons Subgroups feature could initially do just the following:
1. Set the Group content type to be a "group content", in addition to the current default "group". This automatically adds a "Groups audience" field to choose a parent group. It should't be a required field, since top level groups with no parent need to leave it empty.
2. Improve the group hierarchy navigation: group menu, full breadcrumb...
Those are the essentials, really quick to implement.
The rest, bells and whistles that were included since Commons 2.0 (optional propagation of content and user memberships among groups, merging of groups, etc.) could be gradually added in next versions of the 3.x feature. About this, OG maintainer Amitaibu mentioned:
Disabling the optional feature would be like in the D6 Commons Subgroups feature:
See also in Acquia's Drupal Commons documentation (free registration): Subgroups (2.0+)
Comment #26
juan_g CreditAttribution: juan_g commentedAbout the full breadcrumb to help navigate the subgroup hierarchy, apart from a possible patch to the current Commons breadcrumb, another quick solution is to just install the excellent Crumbs module, which works with Organic Groups, including its built-in subgroup functionality.
A detail from a screenshot of a Drupal Commons 3.x site with subgroups and Crumbs breadcrumb:
Comment #27
juan_g CreditAttribution: juan_g commentedAn additional detail. In:
Administration > Structure > Crumbs > Display
one of the breadcrumb optional settings is:
In order to this to work, we also check:
The result is:
Comment #28
huma2000 CreditAttribution: huma2000 commentedany update on this?? I'm really interested on this funcionality
Comment #29
dbt102 CreditAttribution: dbt102 commentedDid some research on this over the last month or so. At this point ( ref: http://drupal.stackexchange.com/questions/40835/need-groups-within-a-gro...) it looks to me like subgroups is part of the og module, so by default its built into Commons.
The og_subgroups module adds content and membership propagation
Comment #30
charginghawk CreditAttribution: charginghawk commenteddbt102's link is dead, so here's the archive:
https://web.archive.org/web/20151025090424/http://drupal.stackexchange.c...
Comment #31
charginghawk CreditAttribution: charginghawk commented