tag:cloud

Returns a collection of tags with metainformation to create a tag cloud.

      
  <tag:cloud
      id="tags"
      max="10"
      sizeMax="20"
      sizeMin="10"/>
  <logic:iterate
      id="tag"
      name="tags"
      type="com.ndc.tag.plugin.util.TagMetaInformation">
    <span style="font-size:<util:valueof param="tag.tagSize"/>px">
      <util:valueof param="tag.name"/>
    </span>
  </logic:iterate>
Syntax
<tag:cloud
   id="..."
   includeArticleTypes="..."?
   max="..."
   sizeMax="..."
   sizeMin="..."
   tagId="..."?/>
Attributes
id, mandatory, no runtime expressions

The name of the scripting variable.

max, mandatory

The maximum number of tags to be included in the cloud.

sizeMax, mandatory

The max size of the tags. You can use it for font size.

sizeMin, mandatory

The minimum size of the tags. You can use it for font size.

includeArticleTypes

The article type you want to include. May be a list of comma separated types.

tagId

The tag IDs you want to create a cloud from. May be a list of comma separated ids.