"Views Filter" to filter for all Subgroups of current group, that's what i would need!
And (it was mentioned before) a possibility to have the tree and members shown in a block instead of being placed in the content.
thanks for contributing!
"Views Filter" to filter for all Subgroups of current group, that's what i would need!
And (it was mentioned before) a possibility to have the tree and members shown in a block instead of being placed in the content.
thanks for contributing!
Comments
Comment #1
Anonymous (not verified) commentedbumping now all threads i kind find about this subject.
is it really that hard piece of brainwork or don´t any users of subgroups need such a group hirarchy view ???
can´t believe it ...
Comment #2
ezra-g commented@mokkashock - This should be possible.
The way I imagine it working would be by looking up the ancestry tree for the node presented in an argument and filter based on children of that node. I would be happy to review any patches towards this feature.
Comment #3
gabriel. commentedI'd also like to be able to filter results to only subgroups of a certain group.
Also, an "Is a subgroup of..." option (specifying the inverse relationship) would be very helpful too.
Comment #4
somebodysysop commentedAs opposed to coding this in a module, I created a code snippet to put into a block. This code will:
a. List the subgroup hiearchy as in "Tree".
b. If you are at the bottom of the hiearchy, it will list the subgroup parents.
My goal here was simply to have a block which will allow you to navigate a subgroup hiearchy no matter where you are in it.
For the "Show block on specific pages:" section, I select: "Show if the following PHP code returns TRUE (PHP-mode, experts only)." and insert the following code:
Comment #5
amitaibuSomebodySysop,
Thanks for the snippet, however please note that 5.x-4.DEV already comes with this functionality built-in. Give it a try :)
Comment #6
somebodysysop commentedMajorly cool. Wish I'd known! Thanks!
Comment #7
somebodysysop commentedInstalled 5.x-4.x-dev. No dialog in update.php for og_subgroups. Now get this error:
What should I do?
Comment #8
somebodysysop commentedNever mind. Found the patch here: http://drupal.org/node/266659
Looks good!
One small itsey, bitsey question:
The subgroups block will appear whether the group has subgroups or not. Any suggested resolution to this: That is, it only appears if the current group has parents or children?
Comment #9
amitaibu@SomebodySysop,
1. If the patch - #266659: Migration tool for 5.x-3 to 5.x.4, works for you please RTBC.
2. Regarding your question, I opened a new issue #267173: Show sub groups block only when group has parents/ children
Comment #10
somebodysysop commentedYes, the patch works. I don't know what RTBC means.
Comment #11
amitaibuRTBC = Ready To Be Committed :)
10x.
Comment #12
ezra-g commentedAwesome! Thanks Amitaibu and SomebodySysop for the quick response on this!!
Comment #13
ezra-g commentedoops -- meant to post this at #266659: Migration tool for 5.x-3 to 5.x.4.
Comment #14
greg.1.anderson commentedThis is implemented in the 6.x-1.x branch in the og_subgroups_views module, which is included in the og_subgroups project. (Pro tip: check the contents of the project for features before looking in the issue queue. Fortunately I figured this out before writing my own views filter; adding this note in case someone else ends up here like I did.)