Using Custom Layout blade for each panel provider

I want to be able to use a custom app.blade.php layout for different panel types. Customers get a more website-styled one and admin panels get a more admin-style panel. I would expect to be able to do something like return $panel->layout('layouts.customer') in the panel provider. Is there a way of doing this?
Solution:
you mean this? ```php $panel ->topNavigation()...
Jump to solution
4 Replies
Ravenheart
RavenheartOP2mo ago
Thanks. Yeah the BODY_START and BODY_END hooks are good for including the header and footer. I just need the panel to not show its own header if I'm using that. I'm wondering if I could use a render hook to inject display:none styles for the topbar And sidebar-header?
Solution
LeandroFerreira
LeandroFerreira2mo ago
you mean this?
$panel
->topNavigation()
->topbar(false)
$panel
->topNavigation()
->topbar(false)
Ravenheart
RavenheartOP2mo ago
Fantastic! Amazing! Thank you
Want results from more Discord servers?
Add your server