Drupal 5 to 7 Migrate Example

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

While migrating acquia.com from Drupal 5 to Drupal 7, we wrote more than 2500 lines of code using the incredible Migrate module that we used to move all data.

This module is a simple dump of all our code that we would like to share with the community. It's a perfect example of code that takes data from Drupal 5 and moves it to Drupal 7. During the development, we solved several issues including:

Hub

Component type

module

Maintenance status

Development status

Downloads

1783

Component created

Component changed

Alternative storage and retrieval mechanism for custom forms.

How does it work?

The most common use-case is to use Hub in a custom form in your
administration UI. You can do this by return hub_closure(). The
hub_closure() function will handle populating default values, as
well as display the data structures in the form element's
#description for priviledged users.

Javascript Storage

Component type

module

Maintenance status

Development status

Downloads

2005

Component created

Component changed

Provides a javascript api for storing user data in one or more of the following locations:

  • Cookies
  • Local storage
  • Session storage
  • Internal(Drupal) database
  • External database

This is an api module. It is useless on its own. Only install this module if other modules you are using requires it.

The module is useful for sites that exists behind a web-cache. With this module a cached page can store user data to an external service.

OG Merge

Component type

module

Maintenance status

Development status

Downloads

701

Component created

Component changed

The purpose of this module is to provide a simple, extensible way to merge one organic group with another.

Organic groups comes with a built-in merging mechanism that is unsatisfactory.

Here is a list of things that OG Merge does better:

Daedalus

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Daedalus is a curriculum mapping tool. Its main task is to define courses by adding a list of tasks that students are expected to be able to complete. Such tasks are called Student Learning Outcomes (SLO). Daedalus has been developed by the Dalhousie University Faculty of Computer Science.