<mt:Comments>

A container tag which iterates over a list of comments on an entry or for a blog. By default, all comments in context (e.g. on an entry or in a blog) are returned. When used in a blog context, only comments on published entries are returned.

Attributes:

  • lastn

    Display the last N comments in context where N is a positive integer. NOTE: lastn required in a blog context.

  • offset (optional; default "0")

    Specifies a number of comments to skip.

  • sort_by (optional)

    Specifies a sort column.

  • sort_order (optional)

    Specifies the sort order and overrides the General Settings. Recognized values are "ascend" and "descend."

  • namespace

    Used in conjunction with the "min*", "max*" attributes to select comments based on a particular scoring mechanism.

  • min_score

    If 'namespace' is also specified, filters the comments based on the score within that namespace. This specifies the minimum score to consider the comment for inclusion.

  • max_score

    If 'namespace' is also specified, filters the comments based on the score within that namespace. This specifies the maximum score to consider the comment for inclusion.

  • min_rank

    If 'namespace' is also specified, filters the comments based on the rank within that namespace. This specifies the minimum rank to consider the comment for inclusion.

  • max_rate

    If 'namespace' is also specified, filters the comments based on the rank within that namespace. This specifies the maximum rank to consider the comment for inclusion.

  • min_count

    If 'namespace' is also specified, filters the comments based on the count within that namespace. This specifies the minimum count to consider the comment for inclusion.

  • max_count

    If 'namespace' is also specified, filters the comments based on the count within that namespace. This specifies the maximum count to consider the comment for inclusion.

This page was last updated on 2008-03-05, 16:28.  

1 Note

Important note: This tag supports all of the MultiBlog template tag attributes blog_ids/include_blogs and exclude_blogs for aggregating across different blogs.

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation.