-
- 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.
-
- 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.
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]].
-
- 24,544 Posts
GoRevo for one site is less than $15. My guess is that it will save you many hours of work.
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
-
- 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 ]]