Welcome Guest, you are in: Namespace

Using the Sueetie Tag Cloud control to generate global tag clouds or tags by application and application type.

Come to the Cloud

Sueetie's "Tags Everywhere!" architecture extends across all applications, so we naturally needed a robust tag cloud control to get the most of our tags. The Sueetie Tag Control is as easy to use as it is robust. It generates tag clouds like those seen on the site home page.

Image

Tag Clouds by Application Type

The Sueetie Tag Cloud Control supports the generation of tags for all site tags across all applications in a single cloud, or tags by application (a specific blog, for instance) or by application type (blogs, which would include all blogs.) To make it easy to select the application type the Sueetie Tag Cloud Control provides a application selection through Intellisense using the TagCloudContents property.

Image

Tag Clouds by Application

You can also display tags by application. For instance, you may want to display tags for an individual blog, or you may have multiple media galleries and you want to show tags for a specific gallery. To display tags by application you would use the ApplicationID property when using the Tag Cloud Control.

Image

Application IDs are displayed on the Applications Listing in Sueetie Administration.

Image

Controlling the number of tags displayed in the cloud

You can change the number of tags displayed in the cloud by using the CloudTagNum property.

Image

Styling the Tag Cloud

The Sueetie Tag Cloud control uses the tag cloud generation logic found in BlogEngine.NET. It creates a UL html control with each tag element an inline LI html control with a specific class based on the tag's weight, or its number of uses compared to the maximum tag use count. The classes assigned to the LI html control range from smallest to biggest. You'll see that in this code excerpt generating each tag's weight, i.e., its LI class.

Image

The default class assigned to the UL html control is "ulTags." You can change that by using the CssClass property in the Sueetie Tag Cloud control.

ScrewTurn Wiki version 3.0.4.560.

Copyright © 2008-2012 Sueetie LLC. All rights reserved.
Sueetie