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

2 Comments

Sunil Shrestha

Sunil Shrestha on August 26, 2016, 11:40 a.m. Reply

Couldnot understand. Confused. 192.168.1.1login

Leave a Comment