Closed geerlingguy closed 4 years ago
It looks like I might have to build a menu migration by hand? https://drupal.stackexchange.com/q/278990/26
Just noting that after porting the Blog view from D7 to D8, and adding a 'Blog' main menu link, there is now a 'Blog' item.
And I may do the same after porting the Projects view...
At this point I have the 'Projects' link as well. The only link that's not in the mix at this point is the 'About' page link. I wonder why the migration doesn't migrate menu settings for nodes? It's set up that way in the Drupal 7 site:
Current state of the menu:
It looks like in Drupal 8, there is no 'Menu settings' for a node? I just checked the node 1 edit page and didn't see any menu settings.
Checking further, there are menu settings but they were not enabled for the 'Page' content type on my site. It's definitely set up correctly on the Drupal 7 site, so not sure why that configuration didn't migrate across on the Drupal 8 site. I've manually enabled the Main menu for being available for Drupal 8 page nodes, and will try re-migrating the page nodes and see if that fixes it.
After:
docker-compose exec drupal bash -c 'drush migrate-import --update upgrade_d7_node_page'
It still didn't migrate the 'Provide a menu link' setting. So... for now I'll just do that manually. Might be able to automate it later. Sigh.
Going to add that 'About' link in a manual migration step after #55.
Right now, the main menu is just empty, which is kind of sad:
It would be nice if, after installing the site and running migrations, a main menu were populated and present. Right now I have to manually add links after a reinstall/migration :(