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_
Can you just return null ? And remove the html maybe
danzzz
danzzzOP2y ago
thx for your answer. but this also dont work.
einnlleinhatt_
Just return empty string then return '';
Solution
danzzz
danzzz2y ago
public function getTitle() : string { return ''; } this works now, thx
danzzz
danzzzOP2y ago
but it removes also the breadcrumbs 😄

Did you find this page helpful?