© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Adysone

Display breadcrumbs and title of the page in topbar

Hello,

I need to display breadcrumbs and title of the page in the topbar. It works like a charm on list pages, but as soon as I go on a Edit ou Create Page, I got this error:
Using $this when not in object context
Using $this when not in object context
.

I tried to use the controller in my blade template but I got another error on EditRecord page:

Typed property Filament\Resources\Pages\EditRecord::$record must not be accessed before initialization
Typed property Filament\Resources\Pages\EditRecord::$record must not be accessed before initialization


You'll find the code in the code.php attached file.

I don't have any clue of what I can do to reach my goal (illustrated by the screenshot).

Thanks in advance!
image.png
code.php2.19KB
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Breadcrumbs in TopBar
FilamentFFilament / ❓┊help
2y ago
Page header in topbar
FilamentFFilament / ❓┊help
16mo ago
Page breadcrumbs
FilamentFFilament / ❓┊help
3y ago
Display Model name on page title
FilamentFFilament / ❓┊help
4mo ago