• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
IfEmpty


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>

Requirements

Tested with MT 3

Leave a comment