Not a developer? Go to MovableType.com

Documentation

ThemesDirectory

This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

Defines the directory path staring from the $MT_HOME directory which themes are located.

The themes directory should:

  • be owned by the owner of mt.cgi (apache, www-data, mt.cgi owners in the suexec environment) can read, write and list.
  • not be publicly accessible on Web server. If publicly accessible, the contents of the theme folder should not contain any sensitive data.

Default

Default path is “$MT_HOME/themes”

ThemesDirectory themes

Values

Path to themes folder.

Examples

Change to “FooThemes” folder:

ThemesDirectory FooThemes

Note: From version 5.2 and up, users have the ability to specify multiple directories for theme storage. If multiple directories are specified, Movable Type will load theme files from all directories in order of mt-config.cgi’s sequence. In this situation, if the user tries to save a theme file, Movable Type will attempt to save the file to the default directory (/apth/to/mt/themes/) first. If the default path is disabled, Movable Type will then try to save the file to the other directories in the order specified by the user.

Mulitple specifications example

ThemesDirectory /path/to/directory
ThemesDirectory /path/to/another/directory
Back