I am developing site with 2 gropus - lets call them "A" and "B". I have created two new content types (say "cA" nad "cB") and set them to "standard group post".
If user who is a member of "A" group only hits "add new content -> cA" it gets by default posted to group "A", but when user is a member of both groups "A" and "B" there is a choice of which group should the content be posted to.
Is there a way to set content type such that when created, it would be posted to one specific group only no matter if a user is a member of more than one group?
Is there another way of allowing users adding new content so it would be posted to specific group?
I guess there is a way since posting here no choice is given :) I just can not figure out how to do that...
I am on Drupal 6
Comments
A few settings to help
So far I haven't found exactly your solution to the tee, but here's a few things you could do to heavily encourage this behavior:
1) Edit the Groups Audience field in Structure->Content Types->[your content type].
2) Under input type, select: Never show "other groups"
3) Under the section "Groups audience field settings", set "Number of values" to 1
The combination of these settings helps to ensure that users can't select groups they are not apart of, and automatically selects the group that they were originally in when they opted to create the new content (given that they clicked one of the "create new [content]" link which were displayed on the group's page). By setting the number of values to 1 it prevents them from cross posting into multiple groups.
Hope this helps a bit but if you figure out a more restrictive way, please post!
Even better
I think these might help even more than my previous suggestions:
http://drupal.org/project/og_access_admins (not fully working of D7 yet)
http://drupal.org/project/context_admin_og
Thanks. I tried to follow
Thanks. I tried to follow your suggestions but they do not seem to help much. I could not find "never show other groups" setting (maybe you were referring to D7 while I am on D6?).
The module og_access_admins didn't solve the issue as well.
Any further suggestions?
Yup, he was referring to
Yup, he was referring to Drupal 6. OG is VERY different between Drupal 6 and 7.
Thnx mark- haven't used OG on
Thnx mark- haven't used OG on D6 to be honest - good to know.
I too need this ..
Hi,
I am looking for a similar solution for d7.
To limit 'node-add' of a 'group-content-type' to few groups(group-nodes) but not other groups of the same group-type (irrespective of the author's primary group affiliation).
Thanx.
p.s. kind of pulling the hair of my head on this for few months !!!
@Vasu - For D7 try
@Vasu - For D7 try http://drupal.org/project/og_create_perms
Hope that helps