How do you tell D2D migration UI how to map the fields it was unable to map automatically when migrating DP6 content to DP7? I have created the same custom content types in DP7 using CCK migrated fields to match the structure in DP6. When I try to migrate the custom content from DP6, 80 fields of data do not map in one of my content types. How do I provide the mapping to D2D UI so that my files, text, and everything else transfer over?

I have created migration extension PHP classes, but I don't know how to tell D2D UI to use them or know where to store them in the file system to get DP7 to detect them.

More specifically, here's a good description of what I'm trying to do:

https://www.drupal.org/node/2815405

Can anyone help?

Comments

own3mall created an issue.

own3mall’s picture

I tried following this guide here: http://atendesigngroup.com/blog/migrating-within-drupal

Here are the steps I took:

  1. I added a new connection array to the settings.php file in "sites/default/" with a "legacy" connection containing the credentials needed to establish a connection to the DP6 database as mentioned here (https://smbjorklund.no/how-migrate-content-drupal-6-7-using-migrated2d-p... - under the "Drupal 7 - settings.php" section on that page)
  2. I created a folder named "example_d2d" in "sites/all/modules/migrate_d2d/". Is this where it's supposed to go?
  3. I added the "example_d2d.info" file into the "example_d2d" folder with the following contents: http://pastebin.com/vUxcdqJb
  4. I added the empty file of "example_d2d.module" file into the "example_d2d" folder.
  5. I added the "example_d2d.migrate.inc" file into the "example_d2d" folder with the following contents: http://pastebin.com/xYVaZCkc
  6. I added the "node.inc" file into the "example_d2d" folder with the following contents: http://pastebin.com/zyprgjfp
  7. I clicked on "Register statically defined classes" button so that Drupal might see my migrate extension.
  8. I went back to the saved migration in D2D UI. I drilled down into the node I added a custom mapping for, and the source and destination tabs still show it in red (meaning it doesn't know how to map).

Does anyone know how to define mapping so that D2D UI picks up on it? I would really appreciate any help!