Not a developer? Go to MovableType.com

Documentation

BaseTemplatePath

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.

This configuration directive specifies a recommended path to separate user files from system files.

Specifies the directory where linked files are stored when “Link to File” is specified in the template editing screen.

If not specified, the UserTemplatePath configuration directive will be used if it is configured. If UserTemplatePath is also not specified, the directory directly under where the Movable Type application is installed will be used as the storage location.

When a relative path filename is set using the “Link to File” feature for global templates, the behavior will be as follows:

  • If BaseTemplatePath is configured, files under BaseTemplatePath will be read and written.
  • If BaseTemplatePath is not configured but UserTemplatePath is configured, files under the directory defined first in UserTemplatePath will be read and written. (Multiple UserTemplatePath directives can be configured.)
  • If both BaseTemplatePath and UserTemplatePath are not configured, files directly under the MT directory will be read and written.

Usage

BaseTemplatePath /usr/www/mt/tmpl

Default Value

None

Back