0

I'm trying to use the Registration codes module to automatically assign users to an organic group when they login with a registration code.

For Drupal 7, it appears that the Registration codes module is still using a Drupal 6 function (og_all_groups_options()) that is supposed to list all organic groups on a form.

I need to know the D7 equivalent of this function; I can't seem to find it.
Do you have a suggestion for how I could print out a multi-select option list of organic groups like og_all_groups_options() did?

1

The closest one seems to be og_get_all_group() in og.module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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