Filament details page

Hello everyone, I need help customizing the filament resource details page. My question is, is it possible to redesign the details page by replacing the form?
9 Replies
Patrick Boivin
Can you say a bit more about what you are trying to do? Technically, you can replace everything in the page with a custom Blade view.
Roomdada
RoomdadaOP2y ago
How to replace for blade view ?
Roomdada
RoomdadaOP2y ago
I want to customize this details page instead of having the default page
Dennis Koch
Dennis Koch2y ago
You can override the $view property and provide your own view
Roomdada
RoomdadaOP2y ago
At what level of the code ?
Dennis Koch
Dennis Koch2y ago
On the view page
Roomdada
RoomdadaOP2y ago
<?php namespace App\Filament\Resources\ArticleResource\Pages; use App\Filament\Resources\ArticleResource; use Filament\Pages\Actions; use Filament\Resources\Pages\ViewRecord; class ViewArticle extends ViewRecord { protected static string $resource = ArticleResource::class; protected static ?string $title = 'Détails sur l'article'; } here ?
Dennis Koch
Dennis Koch2y ago
Yes
Roomdada
RoomdadaOP2y ago
Thank you very much.

Did you find this page helpful?