In This Article:

    Copy or backup templates

    In This Article:

      Have you ever wanted a way to copy a template so that you could make some changes and not affect your production pages? Or have you wanted to backup a template just in case? If either of these answers is "yes", then read on!

      Copy a standard template

      Use these steps to create a copy of a template.

      • Edit the template. If you see "template extraction tool", then your template is an extracted template. Please click here to copy an extracted template.
      • Locate the HTML contents of the template.
      • Copy all of the contents.
      • Click here to finish copying.

      Copy an extracted template

      Use these steps to create a copy of an extracted template.

      • Edit the template. If you do not see "template extraction tool", then your template is a standard template. Please click here to copy a standard template.
      • Click on the Publishing Tools button.
      • Click on the Refresh and Preview link.
      • The browser will show a preview of your template.
      • Use the View Page Source tool in your browser to view the source. A window will open containing just HTML.
        • Copy the contents of the window and close it.
        • Firefox: control-U on a PC, cmd-U on a Mac
        • Chrome: control-U on a PC, cmd-option-U on a Mac
      • Go to the next section finish copying.

      Finishing the copy

      • Navigate to the list of templates.
      • Click on the Create a new template button.

      • Name the template and choose to create a new template.

      • Paste the contents into the new template, then click the Save button.

      Backup a template

      Sometimes we get those "oops" moments when we're editing a template, and we really wish that we could just start over. This section shows how to create a backup so that you can start over if you need to.

      • Edit the template. If you see graphics instead of HTML, then your template is an extracted template. An extracted template must be copied before it is backed up. Please click here, then return to the next step.
      • Locate the HTML contents of the template.
      • Copy all of the contents.
      • Open a text editor like Notepad or TextEdit or TextWrangler. Do not use Microsoft Word!
      • Paste the template contents into the text editor.
      • Save the contents to disk. Many Salsa clients put the current date and the template key into the filename.
      • You now have a copy of the template on your disk. Many Salsa clients also save the copy to a cloud-based service like Dropbox, iCloud, OneDrive or Google Docs.

      Restoring from the backup

      Hopefully, you'll never need to use that backup, but if you do, then here are some steps to follow:

      • Locate the backup file.
      • Open the backup file with a text editor like Notepad or TextEdit or TextWrangler. Do not use Microsoft Word!
      • Copy all of the backup file.
      • Edit the template that needs to be restored
      • Select all of the HTML.
      • Paste in the backup content.
      • Save your template.

      Questions?

      If you have any questions, then please gather this information

      Send the information to support@salsalabs.com, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.