Did you recently create a simple custom content block, or perhaps a simple menu that you want to add to your sidebar, but no matter what you do the block does not appear in the specified region of your theme?
Chances are, you’re using the PHP filter module, and not using any PHP code, which is a unique “feature” of the block system in Drupal 8 causing the block to be ignored.
All you need to do is “negate the condition” of the PHP filter (if you have none entered) and the block will display correctly.
If you’re anything like me, this will hopefully save you several hours of hair pulling.
The amazing team at Acquia have done it, and added support for upgrading from Drupal 6 to Drupal 8. Natively supporting a full migration that bypasses Drupal 7 altogether.
And the best part is that it’s actually quite easy! So, assuming you have a proper webserver setup:
- Install Drush: http://docs.drush.org/en/master/install/
- Create your Drupal database
- Install Drupal and migrate from your previous D6 install:
$ drush si standard --db-url=mysql:user:pass@hostname/dbname
$ drush dl drupal /path/to/html && cd /path/to/html
$ drush site-install standard --db-url=mysql://user:password@hostname/db
$ drush dl migrate_upgrade features -y
$ drush en migrate_upgrade features -y
$ drush migrate-upgrade --legacy-db-url=mysql::user:password@hostname/db --legacy-root=http://mysite.dev --legacy-db-prefix=drupal6_
Keep in mind there are still a few major drawbacks, so it’s not entirely done at this point:
node_reference will not have migrated
- Also a timesaver: The
bundle column in field tables will correspond to the node type in D8, rather than simply
- User profile images will more than likely be null and require a re-upload depending on how your previous public/private file system was setup in Drupal 6
- Views will not be migrated as they’ve been restructured and worked directly into Drupal core
Happy migrating, and as always if I can help let me know!