Export your template

This section has not yet been updated for version 2.0. We're working on it!

Here is how to create themes for CMS Made Simple, so others can use them with the Theme Manager.

   Making XML Theme

The Theme Manager export makes a package of one template and all attached images, CSS etc.
The export doesn't handle export of GCB and UDT's. (If you have to include such items you must copy their contents to one or more files and package it all in a zip file. See instructions for making zip packages below.)

When you have a template with attached css etc on your site that you want to share with others - use the steps below.

  • It's really nice if you can provide a screenshot picture of your theme in use. So please take a snapshot and save it so you can upload it together with the theme.
  • In site admin go to Layout » Theme Manager first tab 'Export',
  • Tick the export box for the one template you want to export. Enter a name for the export file in the "Export Theme As" box. Click Export button.
  • A popup will ask you where to save the file. Find a suitable place to save the file and click Save.
  • XML Export done!

Why do I have to export one template at a time in a theme export and not a full set?
The reason is that the Theme manager only handles one template at once.

   Making Zipped Themes

The Theme Manager export makes a package of one template and all attached images, CSS etc. The export doesn't handle export of GCB and UDT's. If you have to include such items you must copy their content to one or more files and package it all in a zip file.

When you have a template with attached CSS, GCB, UDT, menu templates, etc. you want to share - use the steps below.

  • Its really nice of you if you can provide a screenshot picture of your theme in use. So please take a snapshot and save it so you can upload it together with the theme.
  • In site admin go to Layout » Theme Manager first tab 'Export',
  • Tick the export box for the one template you want to export. Write a name for the export file in the "Export Theme As" box. Click Export button.
  • A popup will ask you where to save the file. Find a suitable place to save the file and click Save.
  • XML Export done!

And now the eventually additional items...

  • Create a new file with an editor like Notepad (not WordPad or Word since they may add extra formatting). I use the free PSPad editor. Usual file extensions are .css for CSS data. .tpl for template data. .mm for MenuManager template data.
  • Copy from your template in the admin Layout » Templates; YourTemplate, paste the code into a file and save it with a descriptive name with extension .tpl.
  • Copy the data from your Stylesheet/CSS, paste the code into a file with descriptive name and file extension .css and save it.
  • If you have a custom MenuManager template you want to export go in admin - go to Layout » Menu Manager and copy the content from your template and paste the code into a new file with extension .mm and save it. Try to use a descriptive name on the new file reflecting the name the user should name their Menu template.
  • All other images not linked from the template should be put into a folder.
  • Now collect the theme xml file and all the other items into a folder and structure the items nicely with subfolders etc.
  • All zip archives should contain a readme.txt file which tells the user where to put the items from the zip and how to set the theme up correct.
  • Zip it all together and the Zipped Theme package is made!

   Making Admin Theme

You can't use Theme Manager to export Admin Themes. So you have to manually export the needed files and make a zipped package of the items.