Breadcrumbs
#1792
Replies: 2 comments 1 reply
-
@NeilGallacherSQL I have created a Issue for this and also a fix on PR #1798 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the breadcrumbs control in a custom theme, I've made a small adjustment so that it doesn't have an active link when IsClickable is disabled. No doubt the code can be improved but I thought I'd share it in case it might be helpful as an idea?
@if (BreadCrumbPages.Any())
{
@foreach (var p in BreadCrumbPages)
{
if(p.IsClickable==false)
{
if (p.PageId == PageState.Page.PageId)
{
@p.Name
}
else
{
@p.Name
}
}
else
{
if (p.PageId == PageState.Page.PageId)
{
@p.Name
}
else
{
@p.Name
}
}
}
}
Sample image for the theme, the navigation page "Samples" is not clickable
Beta Was this translation helpful? Give feedback.
All reactions