Community Documentation

HowTo: Export and import the structure of a profile2-type

Last updated May 1, 2012. Created by wusel on May 1, 2012.
Log in to edit this page.

This HowTo shows, how you can export and import the structure of a profile2-type to transfer the structure of a profile2-type from one website to another.

HowTo:

Step 1: At your source website

  1. If not enabled, (download, install to your modules-path like sites/all/modules and) enable the module Features (http://drupal.org/project/features).
  2. Visit 'http://example.com/admin/structure/features/create', edit the fields, set "Edit components" to "Profile type: profile2_typ", check you profile2-type and then click on "Download feature" to download it as a new module.

Step 2: At your target website

  1. If not enabled, (download, install to your modules-path like sites/all/modules and) enable the modules Profile2 (http://drupal.org/project/profile2) and Entity API (http://drupal.org/project/entity).
  2. Install to your modules-path like sites/all/modules and enable the exported module from the step 1
  3. Visit 'http://example.com/admin/people/permissions' and set the permissions for the profile2-type.
  4. The profile2-type from your source website is now ready to use.

If necessary: Change the profile2-type on your source website and export and import it again.


Good luck!