The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

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?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.