Closed (fixed)
Project:
Subgroups for Organic groups
Version:
5.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2006 at 17:35 UTC
Updated:
16 Mar 2008 at 18:41 UTC
I've made 4 new groups.
I click "create content"
I pick story
I fill in title and body.
In groups (that can view the post) I see only the regular og groups,
none of the new subgroups.
Comments
Comment #1
donengel commentedI've managed to reproduce this. When you create a group with the og_subgroups module installed, you (the creator) are not automatically made a member of the group. If you add yourself as a member of a group, you should see that group as an option under the "Audience" menu. I haven't had a chance to dig into the code to figure out why this is only the case when the og_subgroups module is installed. I'm not sure what the desired behavior should be, since as admin I'll often want to create groups of which I won't be a member.
Comment #2
donengel commentedActually, I found this comment in the og.module code at line 1259:
// TODO: this behavior is not ideal in some curcumstances. We might disable those checkboxes where admin is not a subscriber
This is saying, I believe, that the problem you're running into - that as admin (I presume) you can't set an audience for groups in which you're not a member - is a "todo" for og.module. Therefore, I'm going to go to the og project and point them to this node in the hopes that they can chime in.
Thanks,
Don
Comment #3
donengel commentedI posted as promised, in
http://drupal.org/node/83658
and was directed to
http://drupal.org/node/72411
I'm curious if you've tried the patch there (you were part of that conversation) and whether it fixes this problem for you.
Comment #4
mwu commentedHi Don,
thank you for your comments. Rather than testing the patch right now, I decided just to add myself to the group. When I went to post, the groups did show up. However, they showed up in just one column. They were not collapsed in anyway.
I had thought the initial purpose for this module was to make it possible to have 100 or more groups, because they would be displayed through a collapsible menu. Is that the idea, or are you trying to achieve something very different? What is your goal?
thank you.
Comment #5
donengel commentedI'm unclear on what you're saying wasn't collapsed in any way. What is the URL of what you're saying isn't collapsed?
The only thing that's collapsed is the tree view when looking at a group node. The list of groups isn't collapsed, though it's been suggested in another node (http://drupal.org/node/82298) that this is something I might want to impliment, and I agree.
I'm finishing up with job training on Monday and things might get intense after that - I'm not sure if I'll continue developing much. If you or anyone else is interested in helping to maintain this module (or taking it over) I'd love to know about it. On the other hand, I really care about this project and would love to see it done right, so I'll be tempted in any case and may not resist the temptation.
Thanks!
Don
Comment #6
mwu commentedI see. When I go to post something, I am presented with a list of groups I can post to, on the page for creating the node. (Do create content for any page on your site that has groups. Click on groups. I think it's right under "input format.")
In my case, it's all groups that exist, because I applied an og patch to let you post to groups you don't belong in. This means you can't have 100 groups because the list would be too long. I thought you were creating a module to make that list collapsible (e.g. Asia would hold China, Japan, India, etc. You could click on Asia on expand the list and pick individual countries, or you could pick to let all of Asia view it.)
Is this something that you were thinking about?
thank you.
Comment #7
donengel commentedI believe you're talking about the select box called "Audience" that shows up when you're on a form to create content.
I agree the og_subgroups module would be better if this select box were somehow collapsable, instead of the status quo, which ignores group hierarchy.
At present, the only collapsable view the module creates is in viewing an existing group and its children - nothing is made collapsable on other pages, like content creation.
It was also suggested in #4 of http://drupal.org/node/82298 that the main view of all groups be made collapsable. I agree that this would also be a good idea.
Unfortunately, with my new job, I don't know when I'll get to implement this. If anyone is interested in being a maintaner of this module with me, that would be most appreciated.
Comment #8
ezra-g commentedClosing this very old issue. OG_Subgroups uses a modified version of og.module's audience form element.