• Not Answered

Display Total Number of Views in Forum List

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.

1 Reply

  • 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
Related