Is there a way to render a breadcrumb using the navigation viewmodel as described in https://doc.dynamicweb.com/template-tags/introduction/concept/viewmodels#sideNavTitle1-5 ?
I noticed an expandmode "PathOnly" is available in the NavigationSettings, but I can't seem to get output.
And I can't seem to find the parameter value options, ther used to be something like 'sitemapmode=true', but that isn't recognized as a valid parameter.
The sample doens't mention "Parameters" on the NavigationSettings, but it seems to be there ...
The sample does mention "RootAreaId" and "RootPageId" without explaining what they are for ...
I output this in the master template, what settings should I have?
var breadcrumbTemplate = "Navigation/Breadcrumb.cshtml";
var navigationSettingsBreadCrumb = new Dynamicweb.Frontend.Navigation.NavigationSettings() { //Parameters = // RootAreaId = 0, //RootPageId = pageView.Page.ID, // RootNavigationTag = StringConstants.NavigationTags.NAVIGATION_Homepage, //StartLevel = 0, // StopLevel = 99, ExpandMode = Dynamicweb.Frontend.Navigation.ExpandMode.PathOnly };
@Navigation.RenderNavigation(breadcrumbTemplate, navigationSettingsBreadCrumb)