One BREAD multiple tables in Laravel Voyager

Solved
cpshibinoppo

Dec 2nd, 2022 04:32 AM

Hi i am using voyager laravel and i wanted to know if it's possible to be able to display contents from different tables in a single Bread interface?

bobbyiliev

Dec 2nd, 2022 06:19 AM

Best Answer

Hi there,

Yes, you can define this as a relationship directly in your BREAD definition:

BREAD Builder - Relationships

If your models are not related and you just want to show other content that does not have a realtltionship to the BREAD itself, then it is best to create a custom BREAD:

Overriding BREAD View files

Hope that this helps!