We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20400
    • 37 Posts
    I have a small site where I needed to move the site_contents table from Evolution to Revolution. Since the tables are not quite the same, you can’t just export the Evolution table.

    I couldn’t find any code to do this so I wrote some very ’quick and dirty’ code to transfer the information. The code is at http://www.timr.ca/RecentArticles/cms/migrate_to_revoution.html.

    This code is very much ’quick and dirty’ there is no error checking. It will fail without giving any error messages. Use at your own risk.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Doesn’t the "Provisioner" add-on take care of this?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 20400
        • 37 Posts
        @scottwell
        Thanks for the information.

        Not too sure if it would work or not. I didn’t find it when I did a search for a migration tool, so I haven’t tried it.

        I just tried to install it now and got an error message "Could not resolve vehicle for object of class modUserGroup; criteria: Array ( [name] => Provisioner )" but that might be the configuration on my development server causing problems.

        I will have another look at it later.