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


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.

  • User Avatar
    0
    epieters created

    Yep. Thanks.

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.0.0-preview. Updated on September 18, 2025, 07:10