Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I create a document type with name ListA and itemA.
All are good until Breadcrumb
In content :
ListA-1:--->ListA-1.1------>ListA-1.1.1---------->ItemA1---------->ItemA2---------->ItemA3------>ListA-1.1.2--->ListA-1.2--->ListA-1.3
Click ItemA1Breadcrumb: Home->ListA-1.1.1->ItemA1 is FalseBreadcrumb: Home->ListA-1-->ListA-1.1-->ListA-1.1.1->ItemA1 is True
Appreciate any help I can get.
Thanks!
Tan
Hi Tan and welcome to our :)
Could you tell us a bit more about the issue? And could you for instance show some of the code you're currently using to have the breadcrumb rendered?
Looking forward to hearing from you.
/Jan
Hi Jan,Thank you for your interest in my question
Code Breadcrumb:
<ul> @foreach (var level in @Model.Ancestors().Where("Visible")) { <li><a href="@level.Url">@level.Name</a><span class="spacing-ico">»</span></li> } <li>@Model.Name</li></ul>
I think breadcrumb not make the error.
I has using the package Creative Website Starter (CWS) and attempt to do like news-events list and News Item.
Something that I do not properly.
Document type: DanhSachTaiLieuIt 's the same News Events list
Document type: TaiLieuIt 's the same News item.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Problem document types and Breadcrumb in templates
I create a document type with name ListA and itemA.
All are good until Breadcrumb
In content :
ListA-1:
--->ListA-1.1
------>ListA-1.1.1
---------->ItemA1
---------->ItemA2
---------->ItemA3
------>ListA-1.1.2
--->ListA-1.2
--->ListA-1.3
Click ItemA1
Breadcrumb: Home->ListA-1.1.1->ItemA1 is False
Breadcrumb: Home->ListA-1-->ListA-1.1-->ListA-1.1.1->ItemA1 is True
Appreciate any help I can get.
Thanks!
Tan
Hi Tan and welcome to our :)
Could you tell us a bit more about the issue? And could you for instance show some of the code you're currently using to have the breadcrumb rendered?
Looking forward to hearing from you.
/Jan
Hi Jan,
Thank you for your interest in my question
Code Breadcrumb:
<ul>
@foreach (var level in @Model.Ancestors().Where("Visible"))
{
<li><a href="@level.Url">@level.Name</a><span class="spacing-ico">»</span></li>
}
<li>@Model.Name</li>
</ul>
I think breadcrumb not make the error.
I has using the package Creative Website Starter (CWS) and attempt to do like news-events list and News Item.
Something that I do not properly.
Document type: DanhSachTaiLieu
It 's the same News Events list
Document type: TaiLieu
It 's the same News item.
Thanks!
Tan
is working on a reply...