free geoip CS Tidbits #19: Enable Tag Cloud Topic Count - protected virtual void jaysonBlog
in

jaysonKnight.com

Welcome to my corner of the internet

protected virtual void jaysonBlog

A conduit to the voices in my head

CS Tidbits #19: Enable Tag Cloud Topic Count

No lengthy screencasts today, just a quick and easy way to add an enhancement to your site that I believe users will appreciate.

I'm all about numbers, I don't know why.  I like to see how many posts a blogger has made to their site, how many comments have been made, etc.  It's a useful barometer (for me at least) so see if it's an active blog or not, i.e. if someone has made a bazillion posts but only has 5 comments, then something is obviously wrong.  If there are only 50 posts but it has a bazillion comments, more than like the owner has given up due to comment spam.  Etc.  Only the finest blogs make it to my aggregator, and the following is (a one of many) useful metric to gauge what's going on over at a particular blog.

In this evening's tidbit (which will be the first of a Tidbit mini-series to add this type of statistical information in various places on your site) we'll add a Topic Count counter to each tag in your tag cloud.

It's dead simple.  Any control that declares a <Blog:TagCloud> control (or any type of tagcloud, i.e.<CS:TagCloud>, <Galleries:TagCloud>, etc) exposes a ShowTagCounts property, which they inherit from the CommunityServer.Controls.BaseTagCloud control.

To enable the topic count, find any TagCloud control in your /skins/<skinThatContainsTagCloud> and find the TagCloud control declaration.  Add the following attribute: ShowTagCounts="true" before the closing wicket and topic counts will show up similar to the image on the left.  It's that easy.

Share this post: Submit CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to Technorati | Submit CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to del.icio.us | Submit CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to digg.com | Submit CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to reddit.com | Submit CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to DotNetKicks | Add CS+Tidbits+%2319%3a+Enable+Tag+Cloud+Topic+Count to Live Bookmarks
Only published comments... Aug 17 2006, 07:55 PM by Jayson Knight
Filed under:

Comments

 

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Sean Winstead grabs today's top news

August 18, 2006 1:03 PM
 

steveso said:

Great tip, Jayson! Works like a charm, and adds a nice touch to the site.

September 14, 2006 9:11 AM
 

ccheckerom said:

Where i can find the good translator?

Online or software. Please help.

December 20, 2006 2:40 AM
 

hillbilly said:

Hi.

Nice forum design. Okay, I need your help.

So, I wanna make online-store, and I am looking for site template.

Can you advice some online catalog or other resource where I can find many site templates?

It would be better if it will be free:)

I think many of us have personal sites, do you design it yourself?

Thanks a lot, Bill.

January 8, 2007 9:08 PM
 

tetetsee said:

Hello

Hello! its me! Xrumer...

Bye

February 7, 2007 9:40 AM
 

Community Server Bits said:

Simple yet effective! Jayson shows us how to add post counts to a Tag Cloud in CS Tidbit #19.

March 12, 2007 9:36 AM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Jayson Knight

Jayson Knight was clueless to the computer programming world until he took a C++ class in college. The rest is proverbial history. He has been building applications targeting the .Net framework for 7 years, focusing mainly on internet technologies and database driven web application development.

Most recently he left the world of Corporate IT to finish up his degree in Chemistry, with an eye on Medical School and an Anesthesiology residency program. Read this post for more information.

He is also a Community Server MVP: Community Server is the software that runs this site, plus many others on the web. For more information, check out http://csmvps.com.

When he finds time to pry himself away from his computer and university studies, he can be found on the mountain bike trails when it's warm, and on the ski slopes when it's cold.

Copyright © :: JaysonKnight.com
External Content © :: Respective Authors

Terms of Service/Privacy Policy