I am looking to the modx community for some assistance.
I am still very new in the world of modx, but I am learning a bunch from the community as well as trial and error on my own.
I currently have a website running and modx is being used to run the website. All my testing, trial and errors, etc. have become very unorganized in the manager. I am unsure of which ones are being used for chunks, snippets, etc without going through each resource to identify it. That could take quite a bit of time.
I would like to overhaul my site with new layouts and updated content, etc. My thought process was to start a new site in a sub directory of my existing site and build a "test" site. Once I would have everything in order, I would then copy the "test" site to the root directory to replace the existing site. Is this possible? Are the steps that need to be taken in order to make the transition smooth? Any help would be much appreciated.
-
☆ A M B ☆
- 3,141 Posts
Yeah, very much possible and something that I also do for some projects.
You should make sure you're not hardcoding absolute paths in your templates and things like that as you will have to update any reference you create.
As for MODX itself - there are paths stored in the config file (core/config/config.inc.php) that will be updated when running the Setup again after moving the installation. There's also a few core.config.php files (in the root, in /manager/, /core/ and /connectors/ if I recall correctly) that you may need to update.
There's also one path in the database in the workspaces table, but then it's all good.