Mocus
Mocus
Explore posts from servers
FFilament
Created by Mocus on 3/30/2025 in #❓┊help
dashboard not registering in links
its looking for them in for example i call a panel User it'll look under User/Pages >.<
9 replies
FFilament
Created by Mocus on 3/30/2025 in #❓┊help
dashboard not registering in links
OK i figured it out .. looks liie mutliple providers causes slight confusion
9 replies
FFilament
Created by Mocus on 3/30/2025 in #❓┊help
dashboard not registering in links
also looking at a few youtube videos again no one shows doing this .. weird
9 replies
FFilament
Created by Mocus on 3/30/2025 in #❓┊help
dashboard not registering in links
i could probably do that but it just doesnt mention it
9 replies
FFilament
Created by Mocus on 3/30/2025 in #❓┊help
dashboard not registering in links
im expecting 'DashBoard' to appear in the links but it's not there?
9 replies
FFilament
Created by Mocus on 3/27/2025 in #❓┊help
custom page form from resource
ah yeah of course! perfect, thanks! i am wondering why it just doesnt pick it up form $resource since this is pointing to it 🧐 keeping the code abit cleaner
7 replies
FFilament
Created by Mocus on 3/27/2025 in #❓┊help
custom page form from resource
huh? what you suggested did work by returning YourResource::form($form); in the public function form(Form $form) i was just curious if i could use the defined resouce already in my page rather then pulling it again :)
7 replies
FFilament
Created by Mocus on 3/27/2025 in #❓┊help
custom page form from resource
thanks, this did work:
public function form(Form $form): Form
{
return PerformanceResource::form($form);
}
public function form(Form $form): Form
{
return PerformanceResource::form($form);
}
im already pulling protected static string $resource = PerformanceResource::class; in the page class, is there away to use this?
7 replies
FFilament
Created by ShovelKnight_ on 3/4/2025 in #❓┊help
Relation Manager in ListRecords Tab
hey dude, sorry hard to follow your question .... so you want To Be Invoiced to show the user it's associated with?
6 replies
FFilament
Created by Mocus on 3/25/2024 in #❓┊help
ImageColumn not displaying .png
for anyone else looking to do the same, looks like the way to do this:
ImageColumn::make('avatar')
->default(fn ($record) => asset("Types/{$record->types->typeID}_64.png"))
ImageColumn::make('avatar')
->default(fn ($record) => asset("Types/{$record->types->typeID}_64.png"))
8 replies
FFilament
Created by Mocus on 3/25/2024 in #❓┊help
ImageColumn not displaying .png
im no pro, but can i access the $record attribute in this field to something like {typeID}
8 replies
FFilament
Created by Mocus on 3/25/2024 in #❓┊help
ImageColumn not displaying .png
yeah i just figured out the default is what i need -.- silly me!
8 replies
FFilament
Created by Mocus on 3/25/2024 in #❓┊help
ImageColumn not displaying .png
update: i've inspected the element in chrome and can see the HTML code there, with a resource link which when i click on takes me to the image and loads fine.
8 replies
FFilament
Created by Mocus on 3/23/2024 in #❓┊help
Add info list to Page (with no resource)
so after a few hours trying i can see how you use the model from your resrouce in this
22 replies
FFilament
Created by Mocus on 3/23/2024 in #❓┊help
Add info list to Page (with no resource)
this doesnt explain how i access the mode from the resource, the resource is exposed but i cant access it using record/model/modelname
22 replies
FFilament
Created by Mocus on 3/23/2024 in #❓┊help
Add info list to Page (with no resource)
ok awsome thats working now with a plan list, next how do i inject/use my $model property from the resource?
22 replies
FFilament
Created by Mocus on 3/23/2024 in #❓┊help
Add info list to Page (with no resource)
aha finally!
22 replies