-
- 59 Posts
In site I am currently developing, I am trying to produce breadcrumbs navigation using Wayfinder.
Reasons not to use already existing Breadcrumbs snippet?
1. Wayfinder is fully customizable - zillion of templates, no need to introduce/duplicate css clases, etc.
2. My customer asks for breadcrumb navigation in title of each page. Existing Breadcrumbs snippet is not suitable for this, since there is no way to produce just text without links.
Can anyone help me produce breadcrumb navigation with Wayfinder. Is it possible with latest version at all? If not possible, I think it would be great to extend Wayfinder to cover all and every navigational need that can occur on various sites.
Maybe adding "showSiblings" parameter would be clean and nice solution that could further generalize this nice snippet.
Thanx in advance!
-
- 59 Posts
Unfortunately, proposed solution does not work since result is not breadcrumb (i.e. straightforward reversed path from current node to ultimate parent), but "flattened" tree where all siblings are listed.
I looked at Wayfinder source, and somewhere near beggining of code, "parent list" is fetched, but I do not know how to make Wayfinder not to expand this list... Any hints?
-
- 8 Posts
First of all, thank you for your sharing.
I had a pb having it to work properly but here is what I had to do : putting a space in the BreadCrumbRow chunck.
When using empty chunk I had all the element after current doc displayed.
By just adding a space in this BreadCrumbRow chunk instead of having it empty solved it.
Just to share...