Not a developer? Go to


Storing Your Plugin in Source Control

To make it easier for other Movable Type developers to collaborate on plugins you author, but also to make packaging and maintenance easier for yourself, the following conventions have been adopted by the community at large in regards to how you should store and manage your plugins in subversion, a popular and free source code control system.


The pattern, if not immediately evident, is to mirror the file structure of Movable Type itself. That way users wishing to install your plugin can follow these simple instructions and trust that all of your plugin’s files will wind up in the right place:

> cp /tmp/
> cd /tmp/
> unzip
> cp -a PluginName-1.0/* $MT_HOME

And sometimes the follow if you have placed your mt-static files in a directory other than $MT_HOME/mt-static/:

> cp -a PluginName-1.0/mt-static/* /path/to/mt-static/

1 Comment

Alex L. Demidov on March 16, 2010, 1:38 a.m. Reply

Probably config.yaml should be in /path/to/src/mt-plugins/trunk/PluginName/plugins/PluginName/ directory instead of /path/to/src/mt-plugins/trunk/PluginName/