Posted by mberry on April 20, 2009 at 7:41pm
I've just installed the Organic Groups module to our site at http://opensourceschools.org.uk (well, to the dev. copy at the moment...) and would love to use this to provide tailored content to school leaders, teachers, techies etc who form distinct segments of our growing community. Hitherto, I've used a taxonomy to tag content for these groups - is there any way to move the tagged content into the new groups automatically, or do I have to work my way through the archive?

Comments
There's no pre-built
There's no pre-built automated way of doing that -- but if you're a coder -- it wouldn't be too hard to write a script which copies tagged content into an equivalent group. I can't remember the right taxonomy table off the top of my head but the OG table you want is og_ancestry.
Kyle Mathews
Kyle Mathews
Have you tried unchecking Audience checkboxes?
From what I see here I think the 'Audience' option will be helpful to you. For each group, you get a block (make sure you activate this block. The default name for this block is "Group Details.') Within this block, you will get links to create content types that you may have specified to be used as group posts earlier. e.g. if you have a content type named "Group Page" set to be allowed to be posted in a group, you will get a link, Create Group page.
When anybody with the right permissions creates this page, it will be posted under the group as long as you have unchecked "Audience checkboxes" in Administer> Organic Groups>Organic groups configuration>Group Details. Unchecking the above said box will assign the newly created page to the current group.
This will automate the process and you do not need to have the users select the groups the newly created page will go to (the default behavior). Do let me know if this helps or if you need some clarity in my posting.
regards,
Aniruddha