Connor
Connor
FFilament
Created by Connor on 7/9/2024 in #❓┊help
Unable to find component
I believe the the c-n-r-p was some sort of converting of the namespace between where I'm creating the "page" https://github.com/CNRP/laravel-instagram-feed/blob/main/src/Filament/Pages/InstagramManager.php its defined in there as
protected static string $view = 'instagram-feed::filament.pages.manage-instagram-feed';
protected static string $view = 'instagram-feed::filament.pages.manage-instagram-feed';
I think I am missing something here obviously, though late for me so I will try again tomorrow! Thanks for the help anyway, if you have any suggestions on what I can look into I would appreciate it.
12 replies
FFilament
Created by Connor on 7/9/2024 in #❓┊help
Unable to find component
The goal was to insert the filament page into the project via my package instagram-feed thus adding it when the package loads, is it not possible to keep this external in the package without publishing views etc?
12 replies
FFilament
Created by Connor on 7/9/2024 in #❓┊help
Unable to find component
I believe you are probably right there, im not very familiar with this side of filament
12 replies
FFilament
Created by Connor on 7/9/2024 in #❓┊help
Unable to find component
I am using a panel for the view
12 replies
FFilament
Created by Connor on 10/23/2023 in #❓┊help
RichEditor showing "undefined" in view mode.
That did the trick, thanks again!
12 replies
FFilament
Created by Connor on 10/23/2023 in #❓┊help
RichEditor showing "undefined" in view mode.
Ok thanks for the help. I imagine I would do the same for each of the packages, forms, notifications etc?
12 replies
FFilament
Created by Connor on 10/23/2023 in #❓┊help
RichEditor showing "undefined" in view mode.
I was unaware that It was set to this version specifically. Would you recommend changing to ^3.0?
12 replies
FFilament
Created by Connor on 10/23/2023 in #❓┊help
RichEditor showing "undefined" in view mode.
My composer.json has this configuration
"filament/filament": "3.0-stable",
"filament/forms": "3.0-stable",
"filament/notifications": "3.0-stable",
"filament/widgets": "3.0-stable",
"filament/filament": "3.0-stable",
"filament/forms": "3.0-stable",
"filament/notifications": "3.0-stable",
"filament/widgets": "3.0-stable",
12 replies
FFilament
Created by Connor on 10/23/2023 in #❓┊help
RichEditor showing "undefined" in view mode.
v3.0.0.0
12 replies
FFilament
Created by Connor on 10/19/2023 in #❓┊help
Go to record on "view" in Relationship managed resource.
Yep precisely, this should do it for me, I dont know why i couldnt spot this myself. thank you.
5 replies
FFilament
Created by Connor on 10/19/2023 in #❓┊help
Create New Resource With Defaults?
Ahh right, this should make what I need todo more achievable. Appreciate the help!
9 replies
FFilament
Created by Connor on 10/19/2023 in #❓┊help
Create New Resource With Defaults?
I wish to have a few different types of templates though, so I'm looking for a way I can start the new email with around 3 or so different sets of defaults which is where I am unsure
9 replies
FFilament
Created by Connor on 10/9/2023 in #❓┊help
Relation Manager Not Showing related items
Managed to make it work! appreciate the help!
public function checkoutItems(){
return $this->hasMany(CheckoutItem::class, 'stripe_checkout_id', 'stripe_checkout_id');
}
public function checkoutItems(){
return $this->hasMany(CheckoutItem::class, 'stripe_checkout_id', 'stripe_checkout_id');
}
6 replies
FFilament
Created by Connor on 10/9/2023 in #❓┊help
Relation Manager Not Showing related items
Right that makes sense to me somewhat, I'm just trying to figure out how I make this work, I've not really delved into relationship stuff too much yet.
6 replies
FFilament
Created by Connor on 10/9/2023 in #❓┊help
ResourceManager not using new field names. (QueryException)
Yeah so i was setup similar to that.
public function checkoutSession()
{
return $this->belongsTo(CheckoutSession::class, 'stripe_checkout_id');
}

public function checkoutItems(){
return $this->hasMany(CheckoutItem::class, 'stripe_checkout_id');
}
public function checkoutSession()
{
return $this->belongsTo(CheckoutSession::class, 'stripe_checkout_id');
}

public function checkoutItems(){
return $this->hasMany(CheckoutItem::class, 'stripe_checkout_id');
}
I've updated to this, which has fixed the previous error, I cannot however see the releated items still, it just says there are none, but I can verify they are setup correctly in the DB.
7 replies
FFilament
Created by Connor on 10/9/2023 in #❓┊help
ResourceManager not using new field names. (QueryException)
I've updated it everywhere else, the resource manager still looks for checkout_session_id, there is no reference to this anywhere in my project only stripe_checkout_id.. I'm wondering if there is a way to specifically override it with the new id or something
7 replies
FFilament
Created by Connor on 10/8/2023 in #❓┊help
Running something when save changes is clicked.
That makes sense thank you!
9 replies
FFilament
Created by Connor on 10/8/2023 in #❓┊help
Running something when save changes is clicked.
So I have found a method for the CreateProduct page,
mutateFormDataBeforeCreate()
mutateFormDataBeforeCreate()
where I can do things with the data before creating, however I also need this for updating but unsure how todo this still
9 replies
FFilament
Created by Connor on 10/8/2023 in #❓┊help
Running something when save changes is clicked.
This could work but I kind of need something to run after every save regardless of values changing for specific fields so im not sure if its best suited
9 replies
FFilament
Created by Connor on 8/31/2023 in #❓┊help
How to add a sum of related fields in Form/Components/section
Oh right, so I can just reference the relationship from this record. I was expecting something more difficult. That's perfect thank you.
7 replies