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
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.
How to replace for blade view ?
I want to customize this details page instead of having the default page
You can override the
$view
property and provide your own viewAt what level of the code ?
On the view page
<?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 ?
Yes
Thank you very much.