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>
Copyright 2007 Six Apart Ltd. Some Rights Reserved
Leave a comment