0

I am new in Drupal. Currently I am working on one project where I am using Drupal 7.12. My client had one project in Drupal 6 of which database he wants to use in the Drupal 7 project. I can not upgrade the Drupal 6 to 7 as it's a completely different instance but he wants to have same userbase and other things in the new project i.e Drupal 7. As per knowledge DB structure of Drupal 6 and Drupal 7 is very different and hence it's not going to be very easy to use the Drupal 6 DB in 7.

Please suggest me any way to use Drupal 6 DB in 7.

1
  • 7
    The same way you can use diesel in a petrol engine - it'll do something, but not what you want
    – Clive
    Nov 7, 2013 at 12:50

1 Answer 1

5

Simply put, you cannot unless you are willing to rewrite a lot of Drupal 7 parts.

One thing you can do, is to implement cron jobs to export changes in version-independent format like XML on source site, and import them from XML at target site.

Alternatively, you can use Services module and make one page call the other to perform certain tasks, like user login or article reading.

2
  • Thank you very much for your answer. You gave a clue to start working on it. Thanks
    – CodeSurfer
    Nov 11, 2013 at 6:12
  • @AnandGhaywankar What can I say, read about services and about XML modules, and choose your way.
    – Mołot
    Nov 11, 2013 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.