Date post: | 16-Jul-2015 |
Category: |
Software |
Upload: | hector-iribarne |
View: | 140 times |
Download: | 1 times |
Wednesday, January 14, 2014Author: Hector Iribarne @hectoriribarne
Drupal Content Automation with Migrate 2.6
@hectoriribarne
Main Topics
Clean D7 install w/ Migrate module
Demo content import
Walkthrough the code
@hectoriribarne
Get Acquia Dev Desktop 2: https://docs.acquia.com/dev-desktop2
@hectoriribarne
Hector’s base Drupal 7 configuration:
● cd sites/all/modules
● mkdir custom
● drush dl module_filter admin_menu pathauto views token ctools entity migrate;drush en -y module_filter admin_menu pathauto views views_ui token ctools entity migrate migrate_ui;drush en -y module_filter admin_menu;drush dis -y overlay toolbar
@hectoriribarne
Add custom migrate 2.6 modules:
● Place custom modules migr8csv2article and migr8csv2page in the sites/all/modules/custom directory and enable the modules
● Create a data directory under the files folder
● Place CSV files article.csv and page.csv in the sites/all/default/files/data directory
@hectoriribarne
References:
● https://www.drupal.org/project/migrate (migrate_example)
● http://www.kedrovsky.com/blog/2011/10/13/bulk-loading-
content-drupal-migrate-module/
@hectoriribarne
Follow us on Twitter
https://twitter.com/BrowardDrupal