View List Topics

Use this tag to display the topics on your site, or within a group.

{exp:user_groups:topics}{/exp:user_groups:topics} 

Table of Contents


Parameters

user_group_id

user_group_url_title

dynamic

author_id

topic_id

status

orderby

The accepted values are “subject” and “entry_date”, and the default is “entry_date”.

sort

The accepted values are “asc” and “desc”, and the default is “desc”.

limit

offset

paginate

Variables

The following are available in this tag.

topic_id

user_group_id

subject

body

url_title

user_group_url_title

user_group_name

author_id

author_screen_name

author_username

author_email

photo_filename

status

entry_date

num_replies

List the number of replies on the topic.

count

Conditionals

The following conditionals are available for this tag.

is_author

Example

{exp:user_groups:topics user_group_url_title="{segment_3}" paginate="bottom" limit="5"}
{if no_results}
<i>No topics could be found</i>
{/if}
<a href="{path=">{subject}</a><br/>
by <a href="{path=">{author_screen_name}</aon {entry_date}<br/><br/>

{paginate}
<p>Page {current_page} of {total_pages} pages {pagination_links}</p>
{/paginate}

{
/exp:user_groups:topics} 

Category:User Groups -> Tags

Categories: