<mt:IfCommenterIsEntryAuthor>

Conditional tag that is true when the current comment was left by the author of the current entry in context.

This page was last updated on 2007-08-22, 13:53.  

2 Notes

Doesn't this need some kind of "else" statement to work properly?

<MTIfCommenterIsEntryAuthor>
     class="comment-author"
</MTIfCommenterIsEntryAuthor>

<MTElse>
     class="comment"
</MTElse>

It appears that the example above would append a class name if the condition is met instead of replacing it using one-or-the-other logic.

An Else statement is not required as far as I can tell. The absence of a class is just as telling as the presence of one, right?

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.