The containers object is a litst of public knowledge base containers . The containers that appear are based on the container you are in displayed in the URL.
https://support.supportbench.net/container/1005/
If no container id is supplied, then the default root containers are retrieved within the list.
To itterate through each container, you would loop through similair to the below code.
{% for container in sb.containers %} {{ container.name }} {% endfor %}
Returns the id of the container.
Returns the name of the container.
Returns the description of the container.
Returns the uploaded icon of the container. i.e. /container/custom.png
The saved order number of the container.
The article count of the container. This count are the total number of articles within the container and its child containers.
The top 10 ordered articles that are within the container.
{% for article in container.articles %} {{ article.title }} {% endfor %}
Returns the article id.
Return the title of the article.
Returns the summary of the article.
Returns the like count of the article.
Returns the last modifed date on the article.
Returns the comment count on the article. These are the amount of comments this article has recieved from community users.
Returns the saves order number on the article.
Was this article helpfu?
Thank you for voting
You are related to multiple companies. Please select the company you wish to login as.