Not a developer? Go to MovableType.com

Plugin and Theme Directory

ConfigDirective v1.0.0

By Byrne Reese
Posted October 29, 2013, in MT Tags, Templates, Widgets.

Details

This plugin adds a <mt:ConfigDirective> tag to Movable Type. You can use it to display the value of any configuration directive found in the mt-config.cgi file.

Example:

<mt:ConfigDirective name=”SearchThrottleSeconds”>

WARNING: Theoretically this can also be used to display your database password and other sensitive settings. So don’t install/use this plugin if untrustworthy people have access to the template settings of your system.

Requirements

This plugin should work under MT4.x and MT5.x

Installation

Unpack and copy the ConfigDirective folder into the ‘plugins’ folder of your MT installation

Usage

<mt:ConfigDirective name=”NAMEOFDIRECTIVE”>

License & Credit

It is only 12 lines of Perl code (blank lines included) and a configuration file, but still…

This plugin was written by Maarten Schenk (maarten@yesitcan.be) of http://www.yesitcan.be and http://www.movabletips.com in 2012. You are free to use this plugin on your Movable Type installation for any purpose provided you leave this message intact.

Compatibility

Movable Type versions: 4.35.05.15.26.0

License

Freeware,Other


Back

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese