F
Filamentβ€’13mo ago
danzzz

Disable Resource Title

How can I disable or hide a Resources Page Title? On a Page I just do this: public function getTitle(): string | Htmlable { return false; } But this don't work for my Resource Pages.
Solution:
public function getTitle() : string { return ''; } ...
Jump to solution
5 Replies
einnlleinhatt_
einnlleinhatt_β€’13mo ago
Can you just return null ? And remove the html maybe
danzzz
danzzzOPβ€’13mo ago
thx for your answer. but this also dont work.
einnlleinhatt_
einnlleinhatt_β€’13mo ago
Just return empty string then return '';
Solution
danzzz
danzzzβ€’13mo ago
public function getTitle() : string { return ''; } this works now, thx
danzzz
danzzzOPβ€’13mo ago
but it removes also the breadcrumbs πŸ˜„
Want results from more Discord servers?
Add your server