Warn/Die Plugin

The "Warn/Die" plugin lets you control the Movable Type build process. The 'MTWarn' tag lets you output messages from your templates during the build process. These messages might be used for debugging purposes or might just be informational. The 'MTDie' tag lets you halt the build process.

Availability

You can download this plugin from here: mtwarndie-1_0.zip

Examples

<MTWarn>Building Entry: <MTEntryTitle></MTWarn>

or how about... (using my IfEmpty plugin)

<MTIfEmpty var="EntryMore">
    <MTDie>This blog requires an extended entry.</MTDie>
</MTIfEmpty>

TrackBack

TrackBack URL for this entry:
http://bradchoate.com/mt/feedback/tb/394

2 Comments

Kyle said:

The link to download this doesn't work.

Brad Choate said:

Oops-- the link has been fixed. Thanks, Kyle.

About

This article was published on October 5, 2002 1:27 PM.

The article previously posted was Nasdaq Threatens to Delist Nasdaq.

The next article is The Perl Journal.

Many more can be found on the home page or by looking through the archives.

Powered by Movable Type