It's possible change the "default title" for all tabs?
Currently filament show the (of the tab) title using this code in layout/base.blade.php:
But I need to change that and show the brandname before:
How can I change ( in a safe way ) this file? I can create some view to override? Or have another solution? But I don't think override the base file is a good idea.
2 Replies
if u mean this tab title can change from resource lispage e.g <?php
namespace App\Filament\Resources\DavalebebiResource\Pages;
use App\Filament\Resources\DavalebebiResource;
use Filament\Actions;
use Filament\Resources\Pages\ListRecords;
use Illuminate\Contracts\Support\Htmlable;
class ListDavalebebis extends ListRecords
{
protected static string $resource = DavalebebiResource::class;
protected function getHeaderActions(): array
{
return [
// Actions\CreateAction::make(),
];
}
public function getTitle(): string | Htmlable
{
return ('აქტიური დავალებები');
}
public function getHeading(): string
{
return ('აქტიური დავალებები');
}
}
thanks for awnser!
using this:
I keep with the brandname after the title. I need to result be something like:
BrandName - Test