Metronic Laravel menu and breadcrumb
Hello!
I am developing a web application based on Metronic theme, laravel_app version. I would like to use your menu and breadcrumb construction solution but the documentation on this is poorly described. In pages.php I have:
"greenhouse" => array(
"title" => "Greenhouses",
"*" => array(
"title" => "Greenhouse",
"edit" => array(
"title" => "Update greenhouse",
),
),
), When viewing page "/greenhouse/2/edit" I am expecting that this code will generate breadcrumb like: "Home - Greenhouses - Update greenhouse" but it doesn't work like this. How can I achieve such breadcrumb?
The second question is where can I change "Home" text in breadcrumb?
And last question. Is it possible in your solution to mark "Grenhouses" (/greenhouse) menu item when I am in "/greenhouse/2/edit" subpage?
Kindly ask for help.
Replies (2)
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Hi,
You can check and customize the breadcrumb in the layout file here;
views/layout/demo2/_page-title.blade.php
app/Core/Menu.php in the function getBreadcrumb()
Could you please try like this?
"greenhouse" => array(
"title" => "Greenhouses",
"*" => array(
"title" => "Greenhouse",
"*" => array(
"edit" => array(
"title" => "Update greenhouse",
),
),
),
), Thanks
Hi.
I have:
Level 1 category -> level 2 -> Product -> [crud] I want to show breadcrumbs on the product page like this:
Home -> level 1 category -> level 2 -> Product But in any menu on the site I show only the first level category.
How to do it with all the code what did you write in Laravel?