We are here and ready to help.

Article Comments Object

The article_comments object is a list of article comments with the specified article. The article id is loaded by the id in the URL.

https://support.supportbench.net/article/AR-1005

If no article id is supplied, then the object will be null.

To retrive the article, you can access by calling it directly within a tag.

{% for comment in sb.article_comments %}
 {{ comment.name }}
{% endfor %}

id

Returns the id of the comment.

 

name

Returns the title of the comment.

 

comment

Returns the summary of the comment.

 

avatar

Returns the path of the avatar who created this comment.  This will return null if there is no avatar for this user.

 

created

Returns the comment count of the article.  These are all the comments made by the community on this article.

 

created

Returns the created date of the comment as a date.

 

Facebook Share Tweet

Was this article helpfu?

Yes No

Thank you for voting

×
Select company

You are related to multiple companies. Please select the company you wish to login as.