Resource Title

My ContactUs model is changed to 'Contact Uses', I am trying to change it to 'Support Requests' but not working. I have tried~ 'Title', 'Heading', and 'Subheading', both with 'get' method and setting attribute directly in resource. How to change it?
No description
3 Replies
Vp
Vp10mo ago
I normally do like this, but this one change all (nav title, page title, button suffix etc)
public static function getModelLabel(): string
{
return __('abc');
}
public static function getModelLabel(): string
{
return __('abc');
}
gladjanus43
gladjanus4310mo ago
Or inside your resource ListPage
protected static ?string $title = 'Custom title';
protected static ?string $title = 'Custom title';
Want results from more Discord servers?
Add your server