ClassW

Refreshed my templates and lost everything!

Vote 0 Votes

I've recently had a number of publishing errors with my MT blog.

After days of searching for a solution I delved into editing templates. Not having any success, I followed the most frequent advice that I came across in my searches: refresh my global templates.

That solved the problem with publishing entries.

Now I have a bigger problem in that all the original code that inserted my blog into my website is gone. I have no idea how to restore this problem. I checked for back up templates, but found none. I need to integrate the blog back into the website again asap.

If anyone has some ideas or solutions to resolve this situation I would greatly appreciate any such help. I'm desperate!

Reported on Movable Type 4.2

1 Reply

| Add a Reply
  • When you take the decision of refreshing the templates, you should consider that what you are doing means to loose all the custom work from your templates and to have them replaced by default movable type templates.

    Even on the screen from where you initiate this procedure it's written that you must be careful because you are going to loose your initial templates, and it gives you the option to backup your old templates.

    Hopefully, you've left checked the box that says:
    "Make backups of existing templates first"

    The place where to check if you've left it checked and Movable Type created a backup of your templates is:

    Design -> Templates

    And from the right sidebar, under "Useful links" click on the option that says "Template Backups".

    If you find your templates there you should be a lucky man today and you could restore your template in a couple of copy-paste operations.

    Be careful! Just to make sure you don't alter something by accident create a copy of the backup templates also on your machine.

    Even better, export your whole blog or create a mySQL database backup before initiating the job.

    Next time create backups every now and then (I do them very often, at least once a week) and ALWAYS just before a risky operation like the one you've conducted with resetting the templates.

    If you don't find your templates under the "Template Backups" page, then your only chance is to produce again all your templates based on the source code from your site pages (if you still have a copy of those, or at least one of them...).

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012