Enables configuration of site custom navigation items.
Supported Data Types
custom
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="custom" template="core_v2_siteCustomNavigation" maxDepth="" enableDescriptions="false" enableAvatars="false" />
Plugin Configuration C#
var property = new Property { Id = "propertyId", LabelResourceName = "nameResource", DescriptionResourceName = "descriptionResource", DataType = "custom", Template = "core_v2_siteCustomNavigation", Options = new NameValueCollection { { "maxDepth", "" }, { "enableDescriptions", "false" }, { "enableAvatars", "false" } } };
Options
Name | Description | Default | Options |
---|---|---|---|
maxDepth | If specified, the maximum depth of navigation items allowed. | ||
enableDescriptions | When true, descriptions can be set for each navigation item. | false | |
enableAvatars | When true, avatars can be set for each navigation item. | false |