tips and tricks for movable type

no comments yet using MTIfEmpty
December 15, 2002

It's bookmark-weeding day! Here's how to use Brad Choate's MTIfEmpty plugin to display a "no comments yet" message.

<MTIfEmpty expr="[MTComments]1[/MTComments]">
There are not any comments for this post yet.
</MTIfEmpty>

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 2
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/120)

» No Comment
Excerpt: I'd like to present my MT comments (all 1 or 2 of them) in an ordered list. This would have...
Weblog: Tim's Bandwagon
Tracked: 04.10.04 05:16 AM

» Don't complain when things are good
Excerpt: Remember yesterday when I said that not much has been going on here? It backfired on me. Today was absolutely nuts ... not like my typical Friday when I'm bored out of my mind. I did have a few moments...
Weblog: Born In A Zoo
Tracked: 07.09.04 02:47 PM