Products and Services
Graffiti CMS
Learn more about our simple content publishing platform.
Harvest Reporting Server
Get business intelligence tools for measuring online behavior.
Professional Services
Consulting, creative, and Web services from the people who know Community Server best.
Solutions
Telligent
Learn more about our team at Telligent.com.
 

Hiding Tag Clouds

TagCloud controls can be set to not render when the tag cloud has no tags to display by using the EnableNoTagsMessage property.

The EnableNoTagsMessage property defaults to true. Setting EnableNoTagsMessage to false results in the TagCloud not rendering when no tags exist and the tag cloud is not being filtered, as shown in the following example:

<CSControl:TagCloud EnableNoTagsMessage="false" TagCssClasses="CommonTag6,CommonTag5,CommonTag4,CommonTag3,CommonTag2,CommonTag1" TagCloudCssClass="CommonTagCloud" runat="server" />

To hide the control when it is filtered (such as when browsing tags), the EnableNoRelatedTagsMessage can also be set to false.

All tag clouds are defined with EnableNoTagsMessage="false" except on pages used to browse posts by tags.