TaxonomyControl
<TaxonomyControl> returns a taxonomy from a specified node branch rendered as an HTML fragment consisting of an <ul> element with <li> elements and nested <ul> elements. <TaxonomyControl> is used in Dynamic Navigation and exposes attributes to allow you to control what content is displayed.
- Keyword Count
<TaxonomyControl>provides out of the box visual support for showing the number of related content items. The number of related content items is called the Keyword Count which is displayed in parenthesis after each Keyword. The Keyword Count is based on the directly related content for the Keywords. The Keyword Count for parent nodes shows the total number of times child Keywords are used in Components. This Keyword count is a property on the Keyword object which is always calculated when the Keyword is retrieved from theTaxonomyFactory<TaxonomyControl>-
Language Command ASP.NET Server Control <tridion:TaxonomyControl runat="server">JSP Custom Tag <tridion:TaxonomyControl>TCDL tag <tcdl:TaxonomyControl> - Attributes:
-
Attribute name Description TaxonomyURIThe TCM URI of the taxonomy (Category) to display. ShowRootA Boolean indicating whether or not to show the root of the taxonomy. ExpandKeywordsCalls a method to show the root and a list of Keywords whose children should be expanded. 1 ContextKeywordThe TCM URI of the taxonomy branch (Keyword) to use as the base element (the context element) for displaying the taxonomy. TaxonomyFilterCalls a method which defines a filter for displaying only a part of the taxonomy1. ShowEmptyKeywordsA Boolean indicating whether or not to show Keywords with no related content. SelectedKeywordsA list of all the elements in the taxonomy that are selected1. ShowDescriptionA Boolean indicating whether the description is used when displaying the Keyword. KeywordParameterNameThe parameter name returned to the server side to indicate which Keyword was selected in the taxonomy. The default is Keyword. PageRedirectThe URL used to redirect the page to when a Keyword has been selected in the taxonomy. The default is the current page URL. TaxonomyFormatterDisplays the taxonomy in a hierarchical or flat structure1.