$_article_comment_count
variable
- $_comment_count
applicable sections
- html
description
Place this variable at the location in the article element where you want the count (as a numeral) of comments displayed.
notes
Although this is technically an article element variable and works as designed in the article element, you are more likely to use this variable in your vinetype.config file as a read-only value.
You can use this variable as part of your vinetype.config file entries for
- $formatted_comments0
- $formatted_comments1
- $formatted_comments2
to output different text when the number of comments associated with the article is zero, one, and greater than one. Then instead of this variable in your article template element, use the variable $formatted_comment_count.