Not a developer? Go to MovableType.com

Documentation

UserTemplatePath

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.

The UserTemplatePath configuration directive specifies the file system path to the directory where user-defined template files are stored, which is recommended for separating user files from system files.

This path is specified separately from the system file storage path defined by the TemplatePath directive, and it takes priority over TemplatePath.

Please specify a directory that is not accessible via a web browser and is readable by the user executing the Movable Type application. Additionally, do not locate the specified directory under the directory where the Movable Type application is installed. Relative paths cannot be used; specify an absolute path starting from the root of the server’s file system.

Multiple UserTemplatePath directives can be specified. If multiple paths are defined, the system searches the directories in order, starting from the topmost line.

When “Link to File” is specified in the template editing screen, files are created under the directory specified by UserTemplatePath. However, if the BaseTemplatePath directive is specified, it takes precedence.

Usage

UserTemplatePath /usr/www/mt/tmpl

UserTemplatePath /data/file/tmpl

Default Value

None

Back