简体   繁体   English

如何将Drupal 6数据导出到Drupal 7

[英]How to Export Drupal 6 datas to Drupal 7

The web development firm we hired few years ago to build our site used Drupal 6. Its a very customized drupal website running with different modules and customized dashboard. 我们几年前聘请的Web开发公司使用Drupal 6来构建我们的网站。它是一个非常定制的drupal网站,运行着不同的模块和定制的仪表板。

By the way, I am a graphic designer with some CSS/PHP knowledge, and I am in charge with the website content update. 顺便说一句,我是一位具有CSS / PHP知识的图形设计师,并且负责网站内容的更新。

I do not have any knowledge about Drupal theming, so they sent me to a Drupal training course that teaches how to make themes in Drupal. 我对Drupal的主题一无所知,所以他们让我参加了Drupal培训课程,该课程教授如何在Drupal中制作主题。 But the training course is teaching Drupal 7 not the Drupal 6. 但是培训课程是在教Drupal 7而不是Drupal 6。

Just wondering how can I Export the datas (company products data content & images) used? 只是想知道如何导出使用的数据(公司产品数据内容和图像)? Is there a Module that can read datas from Drupal 6 to Drupal 7? 是否存在可以从Drupal 6到Drupal 7读取数据的模块?

Thank you 谢谢

There are modules that exists ( Drupal-to-Drupal data migration , Data Export , Migrate ), however the more customized your original Drupal 6 site is, the harder it becomes to easily transfer data. 存在一些模块( Drupal到Drupal的数据迁移Data ExportMigrate ),但是原始Drupal 6站点的定制程度越高,越难于轻松地传输数据。

I would try with some of these modules and see how they perform based on your exact scenario - you may be lucky and it will all work fine. 我将尝试其中的一些模块,并根据您的实际情况查看它们的性能-您可能很幸运,而且一切正常。

If it doesn't then you have to take a more manual / custom approach. 如果不是这样,那么您必须采用更多的手动/自定义方法。 I've done this before by exporting data from the old site to a csv with a custom script, and then writing another custom script to import the data into the new site. 通过使用自定义脚本将数据从旧站点导出到csv,然后编写另一个自定义脚本将数据导入到新站点中,我已经做到了。 This can handle complex relationships that generic import / export modules can't cope with, but takes longer and requires a more intimate knowledge of how Drupal works. 这可以处理通用导入/导出模块无法处理的复杂关系,但是需要更长的时间,并且需要对Drupal的工作原理有更深入的了解。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM