Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
I´m trying to migrate the legacy information that I have inside core profile fields to the new entity fields.
I´ve installed migrate module, this module and profile2. I´ve migrated my site from D6 to D7.
How should I do that? I´ve read that it can be done, but don´t understand how to do that.
Or where to start. I´m not a developer, but I´m willing to give it a try.
Any insight is going to be very much appreciated!!
Thanks!!
Rosamunda
Comments
Comment #1
mikeryanThis module does require programming, and how to develop your custom module to use the migrate_d2d framework for your migration is documented at http://drupal.org/node/1813498. You would need to extend the DrupalUser6Migration class and add field mappings for the Drupal 6 profile fields to the Drupal 7 custom fields, something like:
Comment #2
mikeryanNo further response.
Comment #3
Rosamunda CreditAttribution: Rosamunda commentedThanks!
Comment #4
webdrips CreditAttribution: webdrips commentedFor anyone having trouble migrating core Drupal 6 core profile fields to Drupal 7 entity fields, I had to unserizlize $row->data to get at the profile field values in prepareRow as follows: