© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
12 replies
᲼Vitor

Custom page before list resource

I need to add a custom page before listing a resource. I tried something like this:

public static function getPages(): array
{
    return [
        'index' => FactoriesListPage::route('/factories'),
        'list' => ListProducts::route('/factory/{factory}'),
        'create' => CreateProduct::route('/create'),
        'edit' => EditProduct::route('/{record}/edit'),
    ];
}
public static function getPages(): array
{
    return [
        'index' => FactoriesListPage::route('/factories'),
        'list' => ListProducts::route('/factory/{factory}'),
        'create' => CreateProduct::route('/create'),
        'edit' => EditProduct::route('/{record}/edit'),
    ];
}


I want a page to select a factory and, after a factory is selected, list the products where the factory matches the selected one.


What is the best approach to this?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Extend a Resource List Page in another Resource Custom page
FilamentFFilament / ❓┊help
3y ago
custom page(non resource page)
FilamentFFilament / ❓┊help
2y ago
Resource list page emptyStateActions action
FilamentFFilament / ❓┊help
3y ago
Custom page in resource
FilamentFFilament / ❓┊help
3y ago