Arlyzatun
Arlyzatun
Explore posts from servers
FFilament
Created by Arlyzatun on 3/31/2025 in #❓┊help
Unable to locate file in Vite manifest: resources/css/filament/admin/theme.css.
thanks, it works
6 replies
FFilament
Created by Arlyzatun on 3/31/2025 in #❓┊help
Unable to locate file in Vite manifest: resources/css/filament/admin/theme.css.
No description
6 replies
FFilament
Created by Arlyzatun on 3/29/2025 in #❓┊help
Filament Shield: 403 Forbidden on Production but Works Fine Locally
thanks guys, solved using canAccessPanel, thanks
13 replies
FFilament
Created by Arlyzatun on 3/29/2025 in #❓┊help
Filament Shield: 403 Forbidden on Production but Works Fine Locally
i am using
"php": "^8.2",
"bezhansalleh/filament-shield": "3.2.6",
"filament/filament": "^3.2",
"laravel/framework": "^11.31",
"php": "^8.2",
"bezhansalleh/filament-shield": "3.2.6",
"filament/filament": "^3.2",
"laravel/framework": "^11.31",
13 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
it solved
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
yes
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
no,no actually in local i use npm run dev, and there is no issue...but now i am trying to deploy my web in aws ec2, i think for deployment we need to build the node right instead running with npm run dev
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
but in local development it is ok, the content og resource also same but in local development it works well
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
No description
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
Do I need configure nginx first?
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
git clone composer install npm install npm run build (error)
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
yes, it still error sir
22 replies
FFilament
Created by Arlyzatun on 3/28/2025 in #❓┊help
Error npm run build
yes, i think, wait i wil rerun composer install
22 replies
FFilament
Created by Arlyzatun on 3/24/2025 in #❓┊help
Error 503 service unavailable
Ohh ya, run artisan down, thanks @Dennis Koch , solved
5 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
Middleware auth + custom in Filament Blade
ohh i see, the context of my question is, what about if i using laravel blade for createing my page, how to add middlware like i want?
13 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
Middleware auth + custom in Filament Blade
sorry, i am new in laravel, is custom page with resource/page same with create view in laravel blade?
13 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
Middleware auth + custom in Filament Blade
No description
13 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
Middleware auth + custom in Filament Blade
why in panel provider? even if i create a custom page with blade sir?
<div class="mx-auto max-w-screen-xl px-4 py-8 sm:px-6 sm:py-12 lg:px-8">
<img src="{{ Storage::disk('s3')->url($building->image_url) }}" alt="{{ $building->name }}"
class="w-full h-48 object-cover rounded-md">
<header>
<h2 class="text-xl font-bold text-gray-900 sm:text-3xl mt-3">
{{ $building->name }} - Floors & Rooms
</h2>
<p class="mt-3 text-gray-500">{!! $building->getDescriptionHtml() !!}</p>
</header>

<div class="mt-6">
<h2 class="text-lg font-semibold text-gray-900">Fasilitas:</h2>
@if ($building->facilities->isEmpty())
<p class="text-gray-500 italic">Maaf, Fasilitas gedung ini belum ditambahkan.</p>
@else
<ul class="mt-2 flex flex-wrap gap-2">
@foreach ($building->facilities as $facility)
<li
class="inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-green-800 border-green-500 border-[1.25px] bg-green-100 rounded-lg">
{{ $facility->name }}
</li>
@endforeach
</ul>
@endif
</div>
<div class="mx-auto max-w-screen-xl px-4 py-8 sm:px-6 sm:py-12 lg:px-8">
<img src="{{ Storage::disk('s3')->url($building->image_url) }}" alt="{{ $building->name }}"
class="w-full h-48 object-cover rounded-md">
<header>
<h2 class="text-xl font-bold text-gray-900 sm:text-3xl mt-3">
{{ $building->name }} - Floors & Rooms
</h2>
<p class="mt-3 text-gray-500">{!! $building->getDescriptionHtml() !!}</p>
</header>

<div class="mt-6">
<h2 class="text-lg font-semibold text-gray-900">Fasilitas:</h2>
@if ($building->facilities->isEmpty())
<p class="text-gray-500 italic">Maaf, Fasilitas gedung ini belum ditambahkan.</p>
@else
<ul class="mt-2 flex flex-wrap gap-2">
@foreach ($building->facilities as $facility)
<li
class="inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-green-800 border-green-500 border-[1.25px] bg-green-100 rounded-lg">
{{ $facility->name }}
</li>
@endforeach
</ul>
@endif
</div>
13 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
i want to change routes login in filament
can i ask something differnt? i have some page /building/id /my/transaction /my/booking btw, for now, i will stay on /admin/login as login page route i want to make a middleware for check does user have change their default password? if not they will redirect ot reset-password page, if user already change their default password, they can acccess di page
class CheckFirstLogin
{
public function handle(Request $request, Closure $next)
{
$user = Auth::user();

if ($user && $user->is_first == 1) {
Password::sendResetLink(['email' => $user->email]);
return redirect('/reset-password-send')->with('status', 'Silakan cek email Anda untuk reset password.');
}

return $next($request);
}
}
class CheckFirstLogin
{
public function handle(Request $request, Closure $next)
{
$user = Auth::user();

if ($user && $user->is_first == 1) {
Password::sendResetLink(['email' => $user->email]);
return redirect('/reset-password-send')->with('status', 'Silakan cek email Anda untuk reset password.');
}

return $next($request);
}
}
how do i implement this middleware in filament, i also want to check if user already login or not, if they didnt login yet, the will redirected to login page
9 replies
FFilament
Created by Arlyzatun on 3/21/2025 in #❓┊help
i want to change routes login in filament
actually for user, we use page view in laravel instead of using PanelProvider
9 replies