Open Closed

How to get the breadcrumb aligned with the menu path #3701


User avatar
0
epieters created
  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • UI Theme: Lepton

Currently the breadcrumb only shows the title, how can we get the full menu path displayed in the breadcrumb: Home > Consumables > Forming Foil

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, you can define the page layout as follows in your page(*.cshtml):

    @{
        PageLayout.Content.Title = L["Forming"].Value;
        PageLayout.Content.BreadCrumb.Add(L["Forming"].Value, url: "/my-url");
        PageLayout.Content.MenuItemName = MyMenuNames.Consumables;
    }
    

    When you add a breadcrumb you can also specify it's URL.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    Yep. Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.