« Easily Install Template Sets with Template Installer | Main | Google Sitemap Template for MT4 »

Export Templates with Template Exporter

Designed to be used with the Template Installer plugin, Template Exporter is a plugin for Movable Type that enables you to easily export your blog templates in a way that can be shared, distribute, or even sold to to others.

Screencasts

The easist way to describe how Template Exporter works is to show you. The first video below shows how you can export all of a blog templates:

And the the following video shows how you can export only selected templates:


Potential Uses of Template Exporter

This plugin can be put to use in several ways:

  • To create a "backup" of their templates, which can be re-installed later if desired.
  • To copy a set of template from one blog (or installation) to another (some call this "template portability").
  • To share your templates with friends, or post them for download on your blog.
  • To package and sell your customized template designs.
  • To deploy a common template design to multiple blogs in an MT installation.
  • To distribute blog Widgets.
  • To distribute blog templates with MT plugins, providing easy installation.

How it Works (if you care)

Template Exporter provides two main functions:

  • It extracts your templates and saves them in files named according to the template_identifier or template_name, such as main_index.mtml. Each template gets stored in its own file. (Technical note: if a template has an "identifier" field defined in the database, then it will be used for the file name. If not, a "dirified" version of the template name will be used, so "Main Index" will become "main_index".)
  • It automagically creates a YAML file named config.yaml, which defined the configuration information for template set. This includes things like the type and name of the template, and for index templates, the output file and "rebuild with indexes" setting. For example of a Template Exporter config.yaml file, click here.

These files are then saved in their own directory inside a "template_exporter" subdirectory of your blog. You can then use FTP or other means to download the directory and files from there, and subsequent shares the exported template or use with Template Installer to install them on another blog or installation.

Requirements

  • MT4+

Installation

  1. Download and extract the zip file and upload the contents of the 'plugins' folder to the 'plugins' directory of your MT installation.
  2. Go the blog you want, then Design > Templates then choose the "Export Templates" link from the lower right. (Or, to export only selected templates, check the boxes of the templates you want, then choose "Export Template(s)" from the "more actions" drop-down box, then click "Go".)
  3. Give the template set a name, using only letters, numbers, and spaces, and then click Continue.

Get Template Exporter

Commercial License - $97

Comments and suggestions are welcome.

Rate this entry:

  • Currently 3.4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 3.4/5 (18 votes cast). Powered by the Ajax Rating plugin.

TrackBack

TrackBack URL for this entry:

Listed below are links to weblogs that reference Export Templates with Template Exporter:

» Kate Burton and Blake Bashoff from battery operated nebulizer
Tracy Letts' drama, a hit for Chicago's Steppenwolf Theatre Company, concerns a venomous mother and her dealings with three daughters. [Read More]

» home theatre,klipsch home theatre,home theatre speaker packages,sony htddw990 home theatre system,magnolia home theatre, from home theatre,klipsch home theatre,home theatre speaker packages,sony htddw990 home theatre system,magnolia home theatre,
[Read More]

Comments (8)

nixx [TypeKey Profile Page]:

How did you make the movies?

Sara:

Just got my copy of the exporter. I wonder if it would be an idea for future improvements to prefix exported files with widget_ if it's a widget, system_ if it's a system template etc That way it would be a bit easier to find the exact template I'm looking for if I'm making any changes to exported templates.

Sara, that's a good idea, I've had that problem too. The main problem is that the name of the name needs to match the name/id in the config.yaml file. And after installation, you don't want your widgets to be named "Widget Top Entries", etc. I suppose I could preface the type to all template names and then strip those out on install, but for now I decided to remain consistent with the approach/naming convention that MT uses to install templates for new blogs, and that TemplateRefresh uses to refresh your templates.

KevinR [TypeKey Profile Page]:

Hiya! Did this disappear or am I missing the download link somewhere? I've just loaded the Importer and really like it!

One thing I have found is that once you have installed the plugin it completely takes the place of the link to export entries. Once I exported my templates in order to move my blog I had to disable the plugin in order to export the entries.

bangart:

Is there a personal license available?

SomeGuy [TypeKey Profile Page]:

My blogs are small personal non-commercial ones - I REALLY wish that we could export our templates but can't. The amount of this plugin is currently far above my means to afford. The inability to export templates from MT 4 is, I believe, a very serious design problem and will eventually drive more people over to other applications such as WordPress which are far easier to customize.

Any chance there's an upgrade path if we've just recently (within the last 2 months) purchased Template Exporter? Thanks.

Post a comment

Gift idea: Buy Seinfeld DVD box set, complete 9 seasons!