Jump to main content Jump to doc navigation

Quip's tplComments Chunk

This is the Chunk displayed with the &tplComments property on the Quip.Quip snippet. Only applicable when &useWrapper is set to 1 in the Quip snippet (which it is by default).

This chunk wraps the comments for a thread, and provides a heading with the total number of comments.

Default Value

<div class="quip">
    <h3>[[%quip.comments]] ([[+total]])</h3>

<div id="quip-topofcomments-[[+idprefix]]"></div>

    [[+comments:notempty=`<ol class="quip-comment-list">
    [[+comments]]
    </ol>`]]

    [[+pagination]]
</div>

Available Placeholders

Name Description
comments The comments for the thread.
total The total number of comments for this thread.
idprefix The ID prefix for the thread's comments.

See Also

  1. Quip.Quip
    1. Quip.Quip.tplComment
    2. Quip.Quip.tplCommentOptions
    3. Quip.Quip.tplComments
    4. Quip.Quip.tplReport
  2. Quip.QuipCount
  3. Quip.QuipLatestComments
  4. Quip.QuipReply
    1. Quip.QuipReply.tplAddComment
    2. Quip.QuipReply.tplLoginToComment
    3. Quip.QuipReply.tplPreview
  5. Quip.QuipRss
  6. Quip.Upgrading
    1. Quip.Upgrading to 1.0.1

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

Budget

$0 per month—let's make that $500!

Learn more