Not a developer? Go to MovableType.com

Plugin and Theme Directory

IfEmpty v2.01

By
Posted November 30, 2002, in MT Tags, Templates, Widgets.

Details

Allows for different options if a field is empty or not empty.

<MTIfEmpty var="EntryTitle">(untitled)</MTIfEmpty>
<$MTEntryTitle$>

or:

<MTIfNotEmpty expr="[MTEntries days='1']1[/MTEntries]">
We have fresh entries!
</MTIfNotEmpty>


Back