F
Filamentβ€’2y ago
GHOST-117

BreadCrums

can i hide breadcrumbs in my custom page <?php namespace App\Filament\Resources\OpportunityResource\Pages; use App\Filament\Resources\OpportunityResource; use Filament\Resources\Pages\Page; use Filament\Pages\Actions; class Opportunities extends Page { protected static string $resource = OpportunityResource::class; protected static string $view = 'filament.resources.opportunity-resource.pages.opportunities'; // protected ?string $heading = 'Total Members Chart'; protected ?string $subheading = 'Opportunities Pipeline'; public function list() { return redirect()->route('filament.resources.opportunities.list'); } public function create() { return redirect()->route('filament.resources.opportunities.create'); } public function pipeline() { return redirect()->route('filament.resources.opportunities.index'); } }
4 Replies
Husky110
Husky110β€’2y ago
just do this on your Page.php
protected function getBreadcrumbs(): array
{
return [];
}
protected function getBreadcrumbs(): array
{
return [];
}
GHOST-117
GHOST-117OPβ€’2y ago
worked
Husky110
Husky110β€’2y ago
and if you want custom breadcrumbs, you can use this aswell. πŸ™‚
GHOST-117
GHOST-117OPβ€’2y ago
GitHub
GitHub - Sevendays-Digital/filament-nested-resources
Contribute to Sevendays-Digital/filament-nested-resources development by creating an account on GitHub.
Want results from more Discord servers?
Add your server