Vine Type Content Management with Standards in Mind

30 Nov 2005


  • $_comment_count
applicable sections
  • html

Place this variable at the location in the article element where you want the count (as a numeral) of comments displayed.


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.


Visit the Download Area to test drive the standard in standards compliance.


Add professional features to your Vine Type site by purchasing a Vine Type Pro license.


Discuss Vine Type or pose questions at the official Vine Type Forum hosted by ASP Advice.

about us

Learn more about this site and the features it is demonstrating.

© 2001-2020 vine branches — website powered by vine type