Create a page dynamically

How can I create a page using Filament that works like a WordPress page? I’ll try to explain better: I need to create a page called 'Service,' and then the route /service should be set up dynamically and work in the browser.
4 Replies
awcodes
awcodes2mo ago
Do you mean a dynamic page in the panel?
Jefferson Botelho
Jefferson BotelhoOP2mo ago
I mean when I set a new page using Filament using form with the content of the page, the route and controller of this page are created dynamically.
awcodes
awcodes2mo ago
Ah, that not specific to filament. It’s still just laravel so nothing is stopping you from using a catchall route to display the page based on route model binding. Ie, we have a filament resource for managing a page model. But for the non filament part of the site we have controllers and routes to handle their display. It just data in a database and it’s still just laravel so it all still just works, just have to keep context in mind.
Jefferson Botelho
Jefferson BotelhoOP2mo ago
Thank you very much

Did you find this page helpful?