By
bloom1creative+
Hi guys
I have had a bit of an issue with the past two sites I have created using the DMS and would just like to check if I am doing something wrong.
I have been using the DMS + DMS Child theme, and setting the site up accordingly and everything added content wise and section wise.
I use custom scripts ALOT, and sometimes they cause the DMS editor to stick or hang, so I need to go to the dashboard to use the fallback code editor. Only when I do so, NOTHING saves, at all. I try over and over to save the deleted scripts, but upon refresh, they are all still there, and the DMS just permanently hangs.
Solution
Copy out all my custom LESS and Scripts, and change the theme to the DMS. This removes all the custom LESS and CSS, and clears the lot. Then reactivate the Child theme, and paste it back it, with the problem part of the script removed. Job done!
... not quite
When I then go back to the child theme, ALL the settings are lost, for areas like the header and footer, but the body areas seem to remain. Surely the database entries save the settings I had on the child theme, and reload them upon reactivation of the theme?
All the page templates are there so it obviously reads the JSON file, so there would be no point me reimporting from that.
Any suggestions or advice on what I am doing wrong would be great, if only to sort the fact I am unable to chance the Scripts/LESS while the DMS is hanging, which is a huge problem for me if I have to re-create the header and footer afterwards. I would also like to stress this has happened on all the builds I have tried it upon, so it's not a one-off. Perhaps somebody could try to recreate the hanging DMS locally with a child theme, and see if they are still able to change the fallback code during that time.