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.
$212 per month—let's make that $500!Learn more
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.
<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>
|comments||The comments for the thread.|
|total||The total number of comments for this thread.|
|idprefix||The ID prefix for the thread's comments.|