We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51428
    • 42 Posts
    Hello once again!

    Now I'm ready to move my old site from the very old engine (ModX 0.9.6.3 rev4565) to the 2.4.4-pl one.
    The new engine is installed without problems. So, I need advice on how to move and what to move so that the site would work fine. Of course, there may be some small issues, like my unimportant user snippets that may include paths which differ from those in the current engine. But thats irrelevant. I just need to know in general: what and where to move to save the visible design of my site and its workability.

    For example, there are folders in 2.4.4 that weren't present in 0.9.6.3:
    connectors
    core
    manager
    (instead of "managers" I suppose, so should I fix the paths somewhere?)

    And there were folders in 0.9.6.3 that aren't present now:
    cgi-bin
    managers (with s)
    webstat


    And I don't have a slightest idea of how to handle it.

    P.S. Why not just upgrade the engine stage-by-stage, you may ask? Well, I think it will take me much more time and nerves. The clean installation seems to be the best idea when upgrading from such an old version.
    P.P.S. I was young and new to websites at the era of 0.9.6.3, so I just didn't know that I should have upgraded the engine )))
    [ed. note: takamaro last edited this post 8 years ago.]
    • That is a long story. Your original is on the pre-Evolution code base. The 2.4.4 you want to update to is Revolution, a totally different code base. There is no easy way to port your site.

      http://bobsguides.com/why-choose-gorevo.html
      http://bobsguides.com/gorevo-package.html

      This will mostly get everything moved from the Evo to the Revo, but there will be some things you'll need to do manually. How much of a chore this will be depends on exactly what is in the Evo site.

      I have used this to move sites that had only very minor tweaks to make, and some sites that took a few hours to get up and running in Revo.

        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
        • 51428
        • 42 Posts
        Thank you for the answer )
        Well. That's what I was afraid of ((
        Too difficult for me.
        And the GoRevo is not free...
        So, maybe it is better to use a new template for 2.4.4 and then just to insert the old site's content into the new envirinment. I've been already thinking of it... But how to connect the database then? Where in 0.9.6.3 can I find the correspondence of content and its place in the database? Too difficult (I'm not a professional webmaster).
        I should think it over.
        • Templates haven't changed, except that MODX tags are a little different.
          https://rtfm.modx.com/revolution/2.x/making-sites-with-modx/tag-syntax

          Users are quite different. Snippets and plugins (PHP code) are also quite different, although Wayfinder (for generating menus) isn't much different to use.

          It all depends on how big and complex your site is.
          https://github.com/dubrod/modx-evo2rev

          You also might try this
          https://modx.com/learn/modx-college/migrating-from-evo-to-revo/
          https://modx.com/extras/package/provisioner
          https://github.com/shamblett/provisoner
          http://forums.modx.com/index.php/topic,58812.msg345124.html

          I'm not sure if it will work with the 2.4 branch, but you can get an older version of Revo here https://modx.com/download/previous-releases/ and then later upgrade it easily enough using the UpgradeMODX add-on.
            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
            • 51428
            • 42 Posts
            So, as I understood, I can't just copy "this" form "here" to "there" and get the site to work. That is all too difficult for me.
            So maybe it is really better (and faster) to make the new design with a new template (theme). And so, I tried to find a modx theme similar to mine, but couldn't.
            All themes that I can find on modx.com or on mpthemes.com are of the same structure: we can see several screens which change each other on scrolling down and the main menu at the top that has the same divisions that I can see by just scrolling down. Well, that's VERY boring indeed. And I don't like such structure. Do we have something elese???
            For example, my site (http://78.24.217.163/) has the menu in the left side and the contents field to the right. The header and the footer. Do we have something similar? I have found theme "Base" which is more or less like mine. But it has a mistake - submenus (with a black background) don't disappear after pressing - they just stay on the screen and hinder to read. I checked it in several browsers -- it's one and the same.
            • Your theme doesn't need to change. Templates are the same. In fact, you can just copy/paste your templates from your old site to templates in the new one. And copy the files for the CSS and images to the new site. The only thing you'll need to change are any snippet and other MODX tags you have in your template. For example, [*content*] will need to become [[*content]].

                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
                • 3749
                • 24,544 Posts
                GoRevo for one site is less than $15. My guess is that it will save you many hours of work.
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 51428
                  • 42 Posts
                  Quote from: sottwell at May 07, 2016, 06:16 PM
                  Your theme doesn't need to change.
                  That's a good news. So, what exactly should I copy and where?
                  As I suppose, I should copy the "<my_site_root_folder>/assets/templates" folder of the old enginge into the "<my_site_root_folder>/assets" folder on a new engine. Right?

                  And copy the files for the CSS and images to the new site.
                  The same question: from where to where? I've got style.css in the site's root folder. Should I copy it to the same position? And an /img folder with pictures. But I don't see /img in the new engine. Maybe it just hasen't been created yet. Anything else I should move?

                  Quote from: BobRay at May 08, 2016, 12:50 AM
                  My guess is that it will save you many hours of work.
                  If templates haven't changed, than it won't be many hours... [ed. note: takamaro last edited this post 8 years ago.]
                  • The template itself, in the MODX Manager, can be copy/pasted to a template in the new site's Manager. The files in assets/templates, can be copied directly to an assets/templates folder on the new site's server.

                    Again, you'll need to change the MODX tags in your templates and chunks and content fields. https://rtfm.modx.com/revolution/2.x/making-sites-with-modx/tag-syntax
                      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
                      • 3749
                      • 24,544 Posts
                      This should help: http://bobsguides.com/migrating-revolution.html.

                      If you save the stuff you're moving to files and you have an editor that does multi-file search-and-replace, you can correct all the tags with these 12 search-and-replace operations before pasting them into the Revolution site:


                         Replace [* with [[*
                          Replace [+ with [[+
                          Replace [~ with [[~
                          Replace [( with [[++
                          Replace [! with [[!
                          Replace {{ with [[$
                          Replace *] with ]]
                          Replace }} with ]]
                          Replace )] with ]]
                          Replace +] with ]]
                          Replace ~] with ]]
                          Replace !] with ]]

                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting