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

10 Comments

Jay Allen

Jay Allen on November 28, 2014, 11:37 a.m. Reply

FWIW, this plugin is completely unnecessary as you can do the same using the (undocumented…ahem) syntax (case insensitive btw):

<mt:var name="config.SearchThrottleSeconds">

Works with everything but directives with the substring ‘password’.

Braydon Stanley

Braydon Stanley on May 25, 2017, 4:07 p.m. Reply

Hi Jay, do you think this stills works? I tried doing what you said with and I didn’t get it to work. When I use this plug in it will work. But not without. Here you can see what I mean, I have it activated here, but it is not showing up. Please tell me what I am doing wrong. Thanks for your help.

newstart028

newstart028 on June 12, 2016, 9:35 a.m. Reply

I actually appreciate your own position and I will be sure to come back here. 192.168.1.1

Qaxcaef

Qaxcaef on September 8, 2016, 7:21 a.m. Reply

C’est pas tout à fait mauvais, et beaucoup de gens apprécient la montre comme il est. Il est quelque chose d’Apple aurait, à juste titre, a travaillé sur, cependant. Jusqu’à ce que cela arrive, le tueur iPhone d’Apple sera débordant de potentiel inexploité.

http://espionnerportable.weebly.com/

birikkiuch

birikkiuch on April 8, 2017, 11:26 a.m. Reply

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand.

chendler

chendler on April 11, 2017, 6:27 a.m. Reply

Blog gave us useful information to work. You have done an amazing job. downlodable pdf

Rustambek

Rustambek on April 13, 2017, 12:24 p.m. Reply

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Look for it

shodiyor

shodiyor on April 14, 2017, 4:24 a.m. Reply

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. liuhey.com

akmalaka

akmalaka on April 25, 2017, 4:22 a.m. Reply

Blog gave us useful information to work. You have done an amazing job. itsmydownload.com

lunami

lunami on August 16, 2017, 8:37 p.m. Reply

I’ve been facing this issue for very long and I don’t know how to get over it. This is very wrong even for where to best writers websites and can cause me some problems. Tell me something regarding this.

Leave a Comment

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