Import / Export

From WikiName
Jump to: navigation, search

This section applies only to the premium version of Swift

The import/export can be used to backup theme settings before making any major changes to your site or upgrading to a latest version.

In most cases when you are upgrading to next minor release your setting will be intact but, its better to be safe and backup theme settings.

This can also be used to customise your site on localhost or staging site, and then copy all your settings to the live site in couple of simple steps.

Please note that this Import/Export is designed to work between same versions or between subversions of the same major version.

Using it between v5 and v7 will not work.


Under Swift options, you have a page called Import/Export

Swift-Import-Export-Options.jpg

Exporting

On the import export page, you have four huge text boxes namely

  • Swift Options
  • Design Options
  • Color Options
  • Font options

with a very long cryptic text string.

On Windows

Open Notepad by clicking the Start button Picture of the Start button. In the search box, type Notepad, and then, in the list of results, click Notepad. Now copy the entire text string in Swift Options and paste it in the notepad and hit ctr+shift+s and save it as swift-options.txt

Repeat this steps for the other three boxes and save them as swift-design-options.txt, color-options.txt and font-options.txt respectively.

On Mac

  • Open textedit by hitting command+space to bring up the spotlight and type textedit and hit enter.
  • If its in rich text mode, convert to plain text mode by going to format and selecting plain text

Plain-Text-in-TextEditor.jpg

  • Now copy the entire text string in Swift Options and paste it in the notepad and hit cmd+shift+s and save it as swift-options.txt

Repeat this steps for the other three boxes and save them as swift-design-options.txt, color-options.txt and font-options.txt respectively.

Importing

  • First choose which setting you want to import. Lest assume you want to import design options.
  • Now clear everything in the design options in the import/export page.
  • Open the swift-design-options.txt, and copy its contents and paste it in the design options.
  • Check the checkbox below it and click on save changes.

Your settings are now imported.