Teacher List with week day and hour
Hi, i've to represent a table as the attached one. What the best way to represent it? I've just the list of teacher from the database teachers table. How can i edit the class and section inside it?
15 Replies
I guess it's best to build a custom table for this one π
ok so the best is to use a Livevire table?
i'm thinking to use a table with this fields: teacher_id, weekd_day, class_number, section number
The technology here is pretty unrelated. I just think that the Filament table has too much whitespace for this kind of info
So you are asking about the database design?
database + filament plugin or any kind of filament rapresentation
but Filament could not be the best in this case
I think that should be okay
can i have a custom TALL page for this and show this in my sidebar menu links?
Sure
ok thanks
sorry, i return here because...i've created a custom page in this way:
but i don't know how to add this to my sidebar menu links
Usually you would navigate from your ListPage.
Maybe because i haven't a resource UserResource? But my intension was to create a custom blank page...
i don't want to associate to any reasources
have you put this new class into filament.php config file?
Why do you specify
UserResource
if you don't have one?!Solution
Well, then you shouldn't specify that you want to
If you create a normal page it will be in Pages folder and navigation should work automatically
Ok so i should re run the command without UserResource?
ok done! it works thanks!