Forum Discussion
jmurray
Champion
This thread has been immensely helpful.
If I wanted to throw this component into a side rail, how would I go about displaying only the topic name instead of having kudos, author, and date in there along with it?
If I wanted to throw this component into a side rail, how would I go about displaying only the topic name instead of having kudos, author, and date in there along with it?
AdamN
13 years agoKhoros Oracle
The component has a parameter named "style" which is set to "wide". You can change the value to "slim" to condense things down a bit. That sample code is actually at the bottom of Doug's post. Here it is again for easy reference:
<#assign message_list_title = text.format("custom.top_five_threads_with_no_replies.title") /> <#assign results_list_size = 5 /> <#assign rest_query = "/search/messages?openresponse=true&sort_by=-topicPostDate&page_size=" + results_list_size /> <div class="lia-panel lia-panel-standard top-five-threads-with-no-replies-wrapper"> <@component id="forums.widget.message-list-panel" title="${message_list_title}" messages="rest_v1:"+rest_query style="slim" numMessages="conv:"+results_list_size /> </div>
Related Content
- 4 years ago
- 8 months ago
- 13 years agoInactive User
- 3 years ago