F
Filamentβ€’2mo ago
Soundmit

Best Practices for Websites with FilamentPHP

Now that I understand how to use FilamentPHP for creating apps and backends, I need to create the frontend. I would use Filament as if it were a CMS. The typical website has static content pages, a blog or news section, plus some custom content. Developing this part shouldn't be a problem. As for the frontend, I would use the TALL stack, and this shouldn't be an issue either. However, I'm wondering how to implement the following: Content visible to everyone and restricted content (should I create a panel for users?) Menus: how do you manage menus that have links to pages which can be created by users? I've never done frontend with Laravel, but it seems that working with routes and views is sufficient. Can you give me some advice?
8 Replies
Lara Zeus
Lara Zeusβ€’2mo ago
just use TALL for the frontend you can use laravel with blade or with livewire to create the controllers (posts,pages etc) you can check #lara-zeus-sky and get some ideas
Soundmit
Soundmitβ€’2mo ago
you need to install sky on top of a clean laravel installation or on top of a laravel+filament?
Lara Zeus
Lara Zeusβ€’2mo ago
on top of filament its a filament plugin πŸ™‚
Tally
Tallyβ€’2mo ago
I'm using ryangjchandler/filament-navigation for navigation
Soundmit
Soundmitβ€’2mo ago
how do you manage the frontend menu? i saw in the demo that you have a builder for the menu
Lara Zeus
Lara Zeusβ€’2mo ago
using something similar to what Tally mentioned #navigation its actually the same base code with small improvements
krekas
krekasβ€’2mo ago
i would recommend learning the basics first of laravel itself. question like Content visible to everyone and restricted content makes an impression that you really lack the basics
Soundmit
Soundmitβ€’2mo ago
Thank you. Yes, it's not an issue with Spatie permissions or Shield on the filament side. I believe these concepts are also applicable to the frontend
Want results from more Discord servers?
Add your server
More Posts
Relationship Manager for BelongsTo and HasMany RelationshipWhat I am trying to do: I have a Relationship between Users and Domains. I want to create a Relationcreate a Order in my orderline page i get a error that the method is undefinedwhen i create a OrderLine and then edit it and make a Order (inside the orderline) i get this error how to show a MorphOne table in filament Table?I am struggling to access MorphOne relationship data in my table. I have Member model with MorphOne Section Heading-Background-ColorHi - Is it possible to change the background-color of a section-heading? I already tried the `extraAExecute filament commands inside a filament pluginHi, I am making a filament plugin which includes resources, models, relationmanagers, etc... Is theIs there a method to disable select row (checkbox) and display just the table with actions, filtersCurrently i'm hiding the checkbox prefixed with each row with css but is there an offical way to remexport notification message doesn't change base on localeAs we can see from image, I have translation file in `action/km/export` but on the notification listMultiple Modal IssueI stumbled upon an issue where I have multiple actions(opening modals). Whenever I open a modal, cloSQLSTATE[IMSSP]: Field 34 returned no data.Currently, I am facing an issue in displaying data from SQL Server. Why am I encountering an error lQuickly switching routes from panel nav, cause blank page or freezeswitching routes several times and quickly cause: in firefox: - blank page and this console error: "