Movable Type Enterprise Documentation

« MTCommentOrderNumber | Up | MTCommentsFooter »

Chapter Comment listing

MTComments

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

Optional attributes

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

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

  • blog_ids - This attribute allows you to aggregate comments from other blogs into your MTComments listing. Blogs are specified by their blog IDs in a comma-delimited fashion. (e.g. <MTComments blog_ids="1,12,19,37,112">). A value of all expands the context to all blogs in the installation. This feature is available only in Movable Type Enterprise.

Related

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Enterprise Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.