What do you need help with?

We are here and ready to help.

Forums Object

The forums object is a list of forums within the specified forum. The forum id is loaded by the id in the URL.

https://support.supportbench.net/forums/1005/  or https://support.supportbench.net/forum/1005/

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

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

{% for forum in sb.forums %}
 {{ forum.name}}
{% endfor %}

id

Returns the id of the forum.

 

name

Returns the name of the forum.

 

description

Returns the description of the forum.

 

image

Returns the uploaded image path of the forum.

 

topic_count

Returns the topic count of the forum.  These are all the topics created by the community in this forum.

 

forum_count

Returns the forum count of the forum.  These are all the sub forms or child forums within the given forum.

 

last_post

Returns the last postting created within this or a child forum.

 

last_post.id

Returns the id of the topic

 

last_post.title

Returns the title of the topic.

 

last_post.posted_by

Returns the user who posted this topic.

 

last_post.posted_on

Returns the date of when the post was made.

 

last_post.avatar

Returns the avatar path of the user who create this post.

 

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.