Support the ongoing development of Laravel.io →
Views Packages

I'm trying to use davejamesmiller/laravel-breadcrumbs My problem is that part of my site can be accessed from 2 places. Let me explain:

If I start from the root of my site, I can go to PageA, and from that page, I can go to Page B. But I can also go directly to PageB from the root. So how can I set the $breadcrumbs->parent('????'); for pageB. I don't know if I'm coming from root or PageA.

thanks

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.