NeerGreeN
NeerGreeN
FFilament
Created by NeerGreeN on 3/4/2024 in #❓┊help
filament PWA is possible?
Thank you very much Toeknee, I'll try this solution.
13 replies
FFilament
Created by NeerGreeN on 3/4/2024 in #❓┊help
filament PWA is possible?
Ok. Is there a way to prompt the user to download an icon for easy access to the site?
13 replies
FFilament
Created by NeerGreeN on 3/4/2024 in #❓┊help
filament PWA is possible?
Hmm... okay, if I publish the base blade files of the panel, can I use silviolleite/laravel-pwa or shailesh-ladumor/laravel-pwa?
13 replies
FFilament
Created by NeerGreeN on 3/4/2024 in #❓┊help
filament PWA is possible?
Hello Toeknee, can you tell me more about SPA mode?
13 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
Can someone help me please?
9 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
It's worth noting that 125, 126, and 127 are the calendar IDs and not the edition IDs.
9 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
The issue seems to be related to the incorrect inclusion of the editions.id column in the query.
9 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'editions.id' in 'where clause' SELECT * FROM calendars WHERE calendars.edition_id = 2 AND calendars.edition_id IS NOT NULL AND editions.id IN (125, 126, 127) ORDER BY calendars.id ASC limit 100 OFFSET 0
9 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
I am getting this error:
9 replies
FFilament
Created by NeerGreeN on 2/10/2024 in #❓┊help
export excel query
public function calendars() { return $this->hasMany(Calendar::class); } public function edition() { return $this->belongsTo(Edition::class); }
9 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
Leandro, can you help me please?
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
return $panel ->default() ->id('admin') ->path('') ->login() ->passwordReset() ->emailVerification() ->profile() ->colors([ 'primary' => '#14315b' ]) ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources') ->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages') ->pages([ Pages\Dashboard::class, ]) ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets') ->widgets([ Widgets\AccountWidget::class, Widgets\FilamentInfoWidget::class, ]) ->middleware([ EncryptCookies::class, AddQueuedCookiesToResponse::class, StartSession::class, AuthenticateSession::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, DisableBladeIconComponents::class, DispatchServingFilamentEvent::class, ]) ->maxContentWidth(MaxWidth::Full) ->authMiddleware([ Authenticate::class, ]) ->plugin( FilamentSpatieLaravelHealthPlugin::make() ->usingPage(HealthCheckResults::class) );
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
This is the AdminPanelProvider
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
i don't using multiple panels
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
<?php namespace App\Models; use Filament\Models\Contracts\FilamentUser; use Filament\Panel; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; use Spatie\Permission\Traits\HasRoles; class User extends Authenticatable implements FilamentUser, MustVerifyEmail { use HasApiTokens, HasFactory, Notifiable, HasRoles; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'name', 'email', 'password', 'customer_id', 'professor_id', ]; /** * The attributes that should be hidden for serialization. * * @var array<int, string> */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast. * * @var array<string, string> */ protected $casts = [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; public function canAccessPanel(Panel $panel): bool { return str_ends_with($this->email, '@evolvestudio.it') && $this->hasVerifiedEmail(); } public function activity() { return $this->hasMany(ActivityType::class); } public function customer() { return $this->belongsTo(Customer::class); } public function professor() { return $this->belongsTo(Professor::class); } }
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
This is my User model
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
What am I doing wrong?
13 replies
FFilament
Created by NeerGreeN on 2/1/2024 in #❓┊help
Email Verification
Thank you very much, Leandro Ferreira. I receive the email correctly, but when I click the link, I get a 403 error: THIS ACTION IS UNAUTHORIZED.
13 replies