<mt:CommentEntry>

A block tag that can be used to set the parent entry of the comment in context.

Example:

    <mt:Comments lastn="4">
        <$mt:CommentAuthor$> left a comment on
        <mt:CommentEntry><$mt:EntryTitle$></mt:CommentEntry>.
    </mt:Comments>
This page was last updated on 2008-04-14, 22:27.

1 Note

If one wants to remove from the listing a comment placed to a specific entry, that could be achieved like:

<mt:Comments> <mt:CommentEntry><mt:If tag="EntryID" ne="123">

... your comment display tags here..

</mt:If></mt:CommentEntry> </mt:Comments>

or even better by using the mtSQL plugin and writing a custom SQL query ;)

In the sample above 123 is the ID of the entry whose comments we may want to not display in the "recent comments" widget.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.