zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

How to Create several levels of Nodes #63

Closed biomade closed 4 years ago

biomade commented 4 years ago

Background: I have pages in the main area of the application (/Pages/Index.cshtml, /Pages/Categories/xx.cshtml, /Pages/Products/xx.cshtml) and I have pages in 2 areas (/Area1/Pages/xx, and /Area2/Pages/xxx)

I would like the bread crumbs in the areas to be like Home (root)/Home1 (area1 root)/xxx.cshtml

Is this possible and how?

zHaytam commented 4 years ago

You can use manual nodes and do any configuration you want, see https://github.com/zHaytam/SmartBreadcrumbs/wiki/4.-Manual-nodes

biomade commented 4 years ago

Thank you for the information, I will implement it later today.