Remove page title
Hi,
I'd like to remove the page title from a custom page in my panel. I found on the docs a way to customise it, but not remove it:
Does anybody know how to do this?
Thanks!
6 Replies
Hello, maybe you can try
Hey! That just renders out the default name unfortunately :/
Okay, empty string will make the job ^^
not in my case :/ throws an error
Already tried both of those, should've specified on the question I suppose
you can override this function:
public function getTitle(): string | Htmlable
{
return 'This is page title';
}
Awesome! Returning an empty string from that function did the trick. Thanks!