jay02k
jay02k
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
about that image preview is that a bugs? because i make it a preview ->previewable(true) but the image not showing?
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
its private
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
still same error Undefined variable $site_name
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
ok
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
yes all are good it save on the settings page and database
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
this is where i want to display it on welcome page <title> {{ $site_name }} </title>
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
this is my new controller <?php namespace App\Http\Controllers; use App\Settings\AdminSettings; use Illuminate\Http\Request; class SettingsController extends Controller { public function show(AdminSettings $settings){ return view('welcome', [ 'site_name' => $settings->site_name ]); } }
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
the code i send is already modified with admin
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
<?php namespace App\Settings; use Spatie\LaravelSettings\Settings; class AdminSettings extends Settings { public string $site_name; public bool $site_active; public string $site_copyright; public string $site_logo; public string $site_favicon; public static function group(): string { return 'admin'; } }
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
my i only issue is showing the data on the view page like welcome page title
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
yes i am
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
i got this error even i already use the controller from docs Error: Undefined variable $site_name class GeneralSettingsController { public function show(GeneralSettings $settings){ return view('settings.show', [ 'site_name' => $settings->site_name, 'site_active' => $settings->site_active
]); } I even try this controller class IndexController { public function __invoke(GeneralSettings $settings){ return view('index', [ 'site_name' => $settings->site_name, ]); } }
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
just curious is Spartie Settings plugin really work? I try to follow the docs using the controller but it's not working
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
i will check it thank you
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
btw how exactly i will use this to display the image <img src="{{ app(CompanySettings::class)->logo }}" alt="Company Logo" > i have error
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
i will check it thank you
41 replies
FFilament
Created by Mis Tsu on 8/9/2023 in #❓┊help
Change admin panel logo with spatie-setting package
41 replies