April 2010

01
Apr
2010
Grayside

Prepopulate Group Audience

This trick does not use the very fine Prepopulate module at all.

By appending ?gids[]=<group nid> to your node/add URL, you can specify the group audience. By throwing in a comma-delimited list of nids, you can specify multiple audiences. It’s just that simple.

12
Apr
2010
Grayside

Changing Node Group Audience

In OpenAtrium, it’s not easy to change the group affiliation of a node once it has been created. OA locks down the interface to set group audience specifically to make the interface easier to understand.

I have just posted a quick feature that demonstrates how to grant administrators the ability to shuffle nodes around between groups, it can be found in the issue queue at community.OA.

12
Apr
2010
Grayside

Feeds Usermapper

If you are using Feeds to migrate site content, one of the stumbling blocks will be preserving content ownership.

This code is taken from a hypothetical feeds_usermapper module that provides the option to sync up node ownership on the basis of identical usernames. (Pulled from User Inheritance Issue on D.O)

28
Apr
2010
Grayside

Single Group Login Redirect

Community.OA had a request for functionality that would redirect a user with a single group membership to that group’s homepage.

I packaged that functionality up as a Feature, so you can use it too. The oa_ prefix refers to the support for spaces_og/purl to generate a group URL.

01
May
2010
Grayside

Drush and Features Servers

Feature Servers have great potential to help structure the use of code sourced outside the formal ecosphere around Drupal.Org this has it’s pro’s and con’s, but I already see their usefulness in providing a little more structure to issue-queue code exchanges and organization-internal modules. So let’s bring Drush into this and boost the ease of use of that usefulness another step up.