Display Total Number of Views in Forum List

Developer Space

Developer Space
Want to extend the Telligent Evolution platform? Collaborate with other developers and product experts here.

Display Total Number of Views in Forum List

This question is not answered

Hello,

I need to display Total number of Views in Forum list.Can anybody suggest how this can be implemented?

I have written following code but not works.

<CSForum:ForumData ID="ForumData19" Property="Views" CssClass="grp_item_posts txt_blue" Tag="Td"  runat="server" align="center">
</CSForum:ForumData>

Thanks.

All Replies
  • Which version of the platform are you running?  This should really be done in a widget however just quickly scanning the documentation on this site I can only see properties for ThreadCount and ReplyCount exposed in the widget api

    In a widget it would look like this:

    Total Threads: $core_v2_forum.Current.ThreadCount
    Total Replies: $core_v2_forum.Current.TotalReplies