QuipCount
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
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
$204 per month—let's make that $500!
Learn moreЧто такое QuipCount?¶
QuipCount это вспомогательный сниппет Quip. Он быстро возвращает число комментариев в ветке или у пользователя.
Использование¶
Число комментариев в ветке:
[[QuipCount? &thread=`mythread`]]
Число комментариев пользователя с username jb2009:
[[QuipCount? &type=`user` &user=`jb2009`]]
Доступные свойства¶
| Name | Description | Default Value |
|---|---|---|
| type | Режим QuipCount: "thread" или "user". | thread |
| thread | В режиме thread: ветка для подсчёта комментариев. | |
| user | В режиме user: ID пользователя или username. |
Примеры¶
Число комментариев в ветке "thread32":
[[QuipCount? &thread=`thread32`]]
Число комментариев пользователя mikegeorge:
[[QuipCount? &type=`user` &user=`mikegeorge`]]
См. также¶
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
$204 per month—let's make that $500!
Learn more










