I am thinking about using Organic Groups for course management in an academic context.

Initially I was going to create an OG group per course e.g. Physics 101. However if the users change per semester this could become tricky to manage...

There are 2 options I can think of:

  1. Create a new group each semester e.g “Physics 101 – Semester 1, 2013”
    • But would soon end up with 1000’s of groups.
  2. Somehow archive the data, clear down the group and re-enrol the next class each semester
    • I'm unsure how we could effectively do the archival while keeping the data available, and it seems like it would become a convoluted process

I would love to know how other users of OG handle this type of problem?

Is there any online material that would help me learn how to use OG in this way?

Thanks for your help in advance!


1 Answer 1


I currently run a site where every 6-12 months users Groups (OG) will change. To help me, I use the Profile2 module, it makes dynamically changing user info such as OG memberships simple. If you're not already using it, have a read of the handbook.

The way I have solved the issue you have addressed is to have a spreadsheet of all the users who have changed groups, run a simple code on my spreadsheet to edit the "groups" column of the users to what they will now be, (you can simply cross reference another sheet, say the enrollment sheet for that class, and if the username or student ID appears there, put that class ID into the group column in the sheet), and when the spreadsheet is complete, simply export as a csv and then run an import through the Feeds module. This gives you the option to update the existing user information, and you have all of the old spreadsheets as an "archive". Alternatively, you could take a snapshot of the tables database, keep this in an archive, and run simple SQL Queries to update the groups of a user.

Let me know if you need more information, if you choose to approach it this way!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.