PluginPath
The path, relative to the Movable Type directory, where plugins are found. Defaults to 'plugins'.
This page was last updated on 1969-12-31, 16:00.
The path, relative to the Movable Type directory, where plugins are found. Defaults to 'plugins'.
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.
Copyright 2007-2012 Six Apart Ltd. All content licensed under Creative Commons Attribution-Share Alike 3.0 Unported License.
Jay Allen
July 31, 2009 9:48 PM | Reply
Actually, there is no requirement that the path be relative to the MT directory. In fact, the central installation model of Movable Type pretty much requires that the plugin directory NOT be under the MT directory, otherwise, it kind of defeats the point.
PluginPathis anARRAYconfig directive. This means that it can be specified multiple times allowing you to build up a search path for all of your plugins. Plugin paths are processed in the order that they are specified except for theaddons/directory which Movable Type processes automatically before any others.One important note: Like all
ARRAYconfig variables, if you specify the directive, you overwrite the default value. Hence, if you want to include MT's plugin directory, you need to add it yourself: