I'm trying to take the "Most Viewed" widget from the default blogs page and apply it to a single blog. I haven't had much success so far.
I was hoping this thread would help, but it doesn't narrow the focus to a single blog. Another blog post by Keyvan Nayyeri seems closer to what I'm trying to accomplish.
If anyone has actually developed a targeted "most viewed" control already, I'd really appreciate your guidance.
Thanks in advance,
-Scott
I think this is the key you want:
Query.SortBy = BlogThreadSortBy.MostViewed;Using my blog post and this line, you can get those posts, save them into a DataSet (or any Collection object) and display them in your blog.
Maybe these is a hack to use current CS controls with some configurations to accomplish this task but I don't know it.
Keyvan NayyeriWaegis Anti-Spam Filter - Stay Away from Spams on Your Community Server Sites
Thanks Keyvan,
That did turn out to be the missing piece. Your articles were a great help.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com