I have a site on 2.8.3 that was built several years ago with a theme. This theme came with a bunch of functionality, so custom templates, tv, chunks, styles and a ton of extras.
We want to upgrade this site to 3.0 but several of the extras are not compatible with 3.0. Our first attempt to upgrade resulted in a LOT of red box error messages. Several extras are not compatible with 3.0, one in particular is Blogit that is used for a few hundred blog posts. Plus there is a lot from the theme we donât want or need.
There are a couple hundred blog entries and a bunch of other resources that would take a long time to manually cut and paste to a new installation.
So our approach is to install collections on a new Modx 3.0 installation, export the site content tables, template variables, categories, templates and all the collections tables from the current site, then import them into the new installationâwhich weâve done.
So now all the standard resources, all the collections resources show up in the new resource tree and template variables, template variable values and categories all appear correctly in the new installation. Yeah!
All except the templates.
The template categories appear in the tree with the triangle, but when we expand the category to show the templates, there are none. Iâve confirmed that templates are in the new database. Also if I try to create a new template, I get âan error occurredâ in a dialogue box.
The templates appear to function as assigned to the various resources because if I edit a resource the appropriate TVs appear on the resource with the values as assigned.
If we can fix these templates, we should be able to rebuild the rest fairly quickly by installing the required extras, copying the chunks, style sheets, etc. without having to recreate hundreds of resources.
Is there a way to fix the templates?
Could there be differences in the DB table that just wonât work?
So does this approach even make sense? Is there another approach we should consider?
Any suggestions are appreciated.
Thank you!