F
Filament15mo ago
Sandeep

Need to set page instead of pop up modal in details page of resource.

As I have added relation manager and set info list which open to popup, I need to set page for the same. Please help for the same. Thanks in advance!!
No description
No description
Solution:
You can either: - Add custom page, e.g. ViewVariant and register route for it in your web route as Route::get('vairant/{record}', ViewVariant::class) - Create VariantResource with php artisan make:filament-resource --view Variant. In which scenario you take, hide the page (or, resource) from navigation and use its route in your action...
Jump to solution
11 Replies
Sandeep
SandeepOP15mo ago
Okay, Thanks a lot. I will try @Leandro Ferreira Where need to set custom page, In RelationManager or main resoruce page. I havve product Resoruce and VariantsRelationManager Need to set view on VariantsRelationManager's table, so
Sandeep
SandeepOP15mo ago
No description
No description
Sandeep
SandeepOP15mo ago
Need page for relation manager
Solution
MohamedSabil83
MohamedSabil8315mo ago
You can either: - Add custom page, e.g. ViewVariant and register route for it in your web route as Route::get('vairant/{record}', ViewVariant::class) - Create VariantResource with php artisan make:filament-resource --view Variant. In which scenario you take, hide the page (or, resource) from navigation and use its route in your action
Sandeep
SandeepOP15mo ago
Okay, Thanks. Will try I have tried with this, but getting error Add custom page, e.g. ViewVariant and register route for it in your web route as Route::get('vairant/{record}', ViewVariant::class)
Sandeep
SandeepOP15mo ago
No description
Sandeep
SandeepOP15mo ago
No description
Sandeep
SandeepOP15mo ago
No description
Sandeep
SandeepOP15mo ago
Hey @MohamedSabil83 I have applied second way "Create VariantResource with php artisan make:filament-resource --view Variant." Which working fine Thanks a lot
MohamedSabil83
MohamedSabil8315mo ago
Glad I assist you

Did you find this page helpful?