Not a developer? Go to MovableType.com

Documentation

Aliases

Suppose you set a configuration directive in version 1.0 of your plugin, but then later had the realization that the name you chose for the directive was not ideal. In the next version of your plugin you want to change the name of the directive, but you don’t want to break backwards compatibility with users of version 1.0 when they upgrade.

To map one configuration directive to another, use the alias option like so:

name: Example Plugin for Movable Type
id: Example
description: This plugin is an example plugin for Movable Type.
version: 1.0
config_settings:
    MyLogPath:
        default: /var/log/mt/errors.log
        path: 1
    MyErrorLogPath:
        alias: MyLogPath

Back

Leave a Comment