Theme Exporting

From unroole CMS wiki
Jump to: navigation, search


Unroole Admin Panel - Themes Export.png

Every theme can be exported into a theme package for use in other accounts or setups.

Any theme for which a user has edit access can be exported from the system. The export feature creates an archive file which contains all of the information about the theme. This includes:

  • JavaScript files
  • Stylesheet files
  • Media Assets
  • CSS/JS loading order

Each time a theme is downloaded, it creates a zip archive which contains all the information about that theme. More information on the contents and structure of the package can be found in Theme Package Structure.

An empty theme package can be downloaded using the following process:

  1. Navigate to the Theme Section of the CMS (On either an Account or Channel).
  2. Click the 'Export Theme' button on the Theme index page.
  3. Click 'Submit' to download a new empty theme package.


Unroole Admin Panel - Themes Export Channel Layouts.png

When exporting a theme from a channel you can export some Channel Layouts as part of the package to make editing the theme outside of the editor easier.

To make it easier for designers to make changes to a theme without constantly needing to upload new versions, the system supports the ability to export channel layout HTML code along with the theme. When the theme package is built, this html can be loaded into a browser or editor of choice and includes all theme links re-written to be used offline. This allows for designers to make changes outside of the CMS and then only uploading the theme when its ready for testing.

Existing theme packages can be exported using the following process:

  1. Navigate to the Theme Section of the CMS (On either an Account or Channel).
  2. Select and show the theme to be exported.
  3. Click the export button in the action area.
  4. Select the Channel Layouts (if any are available) to export along with the package.
  5. Click 'Submit' to download the package.

In addition to existing theme's a blank theme can be exported to aid in building a correctly formed theme package. To export a blank theme:

  1. Navigate to the Theme Section of the CMS (On either an Account or Channel).
  2. Click "Export"
  3. You should be prompted to export a new blank theme. From this point follow the steps outlined when exporting a normal theme.