Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


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?



Step into a starlit extravaganza at Eden Karaoke near Danang Stadium. This 4-star gem, offering Korean-style facilities and rooms with bathrooms, promises a night of sophistication. Embrace the diverse staff and book your spot for a truly memorable evening.danangavengers.com



Make smarter trades in Forex with our Telegram signals! Our easy-to-understand recommendations and real-time alerts help you seize profitable opportunities.Forex Signals Telegram



Calling all MMO gaming enthusiasts! Join 91 club and connect with like-minded players from around the world. Whether you're seeking thrilling adventures or friendly competition, our platform offers everything you need to take your gaming experience to the next level.



Discover the natural healing potential of Red Light Therapy for Horses. From soothing muscle soreness to promoting faster wound healing, our therapy utilizes specific wavelengths to target various health issues in your horse's back, legs, and more. Give your equine partner the care they deserve with our innovative approach.red light therapy for horses


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(