Randak
Filament structure question
It seems I wouldn't, but my ignorance is vast.
I looked at relationship managers again, but I'm not sure they get me to where I want to be. I used them in my other project and it was great for those many-to-many attach/detach actions, but this is about having a separate admin or control panel/page for those resources.
I think the confusing part is how the game's resources are accessed.
I would want a user/player to open up a game instance page (from /admin) and have it look like Filament's default admin panel.
The left side Navigation Group would contain those game specific resources (key persons, ships, etc.).
I could then click on a resource (e.g. Ships) and get the list, which contained the CRUD.
The "game" page will contain over 40 resources. Plus it would be great to use some widgets (which I haven't used yet) or other features to show other information specific to that game.
28 replies
Filament structure question
I will do so. I used those on my first project for my relationships, but didn't know it applied in this situation.
I spoke to two separate people about paying for the basic build (one experienced but not in Filament, the other knows Filament but seemed junior) and they both suggested I might need a custom Livewire/Filament page. I don't mind paying for it, but I want to make sure I'm going down the right path.
Once again I appreciate your time, I know it is valuable.
28 replies
Filament structure question
The info from the game_instance model is all present.
Now I want another page that show's that game instances resources:
Key People
Ships
etc.
And each of those is a separate model and I want the user to access the CRUD for their resources.
28 replies
Filament structure question
The game instances are listing fine on the admin panel. It is my attempts to then open another page (panel?) that contains all the resources for that user and specific game instance. Checking out query scopes now in any event, and thanks for your response.
28 replies
Action to redirect from one panel to another
So many hours.... hahahaha
I really appreciate your help. I've done business coaching and consulting for 40 years so if you need any business help I'm at your service! (this applies to you as well @toeknee )
33 replies
Action to redirect from one panel to another
This error (which I've gotten frequently during this process):
foreach() argument must be of type array|object, string given
GET localhost
PHP 8.3.9 — Laravel 11.16.0
Expand
vendor frames
24 vendor frames collapsed
storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php
:16
require
62 vendor frames collapsed
public/index.php
:17
require_once
1 vendor frame collapsed
storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php :16
$env->slot($name, attributes: $slot->attributes->getAttributes());
echo $slot->toHtml();
$env->endSlot();
}
?>
@endcomponent
33 replies
Action to redirect from one panel to another
Just set public, here is the link:
https://github.com/House-Chaos-Games/ChaosEmpire
33 replies