This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Running sync templates


avatar
cosmin 269
From: -
Running sync templates

After upgrading to the final version (build 529) Ct recommended to "run sync templates". Well I did, and now all of them aare messed up (on two different sites). What can I do? It looks like they lost the CSS or something.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Running sync templates
avatar
Editor
0
From: -
I see the problem. Sync Template is basically syncing each template set against each other. While this working great with the original template set, the custom ones have different site_header and site_footer templates.

I have some good and bad news here:
The good news is that all modified templates can be restored with the undo function. The bad news is that I just discovered a bug that the sync script that will escape the undo templates twice Slightly Frowning Face

To fix the problem, open both site_header and site_footer of all template sets in the template editor and select the undo option below.

Now copy the HTML part of each restored template set to your favorite editor and doing a search and replace for \" to " and \' to ' . Then copy it back and save it.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.