Starts in:
2 DAYS
1 HR
55 MIN
50 SEC
Starts in:
2 D
1 H
55 M
50 S
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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06