user
03/25/2022, 6:45 PMpboivin
03/25/2022, 6:46 PMconfig/twill.php? Specifically Glide + Media Library stuff?user
03/25/2022, 6:55 PMconfig/twill.php file
<?php
return [
'admin_app_url' => env('ADMIN_APP_URL', 'admin.' . env('APP_URL')),
'admin_app_path' => env('ADMIN_APP_PATH', ''),
];pboivin
03/25/2022, 7:05 PMstorage/logs/laravel.log?user
03/25/2022, 7:08 PMlocal.ERROR: GD Library extension not available with this PHP installation. {"exception":"[object] (Intervention\\Image\\Exception\\NotSupportedException(code: 0): GD Library extension not available with this PHP installation. at C:\\xampp\\htdocs\\sanMiguel\\vendor\\intervention\\image\\src\\Intervention\\Image\\Gd\\Driver.php:19)
[stacktrace]pboivin
03/25/2022, 7:10 PMphp-gd extension...pboivin
03/25/2022, 7:10 PMGLIDE_DRIVER=imagickuser
03/25/2022, 7:11 PMpboivin
03/25/2022, 7:12 PMuser
03/25/2022, 7:16 PMpboivin
03/25/2022, 7:16 PMuser
03/26/2022, 12:28 AMUtuyutuF
03/26/2022, 7:30 AMhttp://localhost:8000/localhost/img/0c4911f7-6991-4bd4-aac8-2b62743b5d78/5.jpg?fm=jpg&q=80&fit=max&crop=4716,4000,0,0 and i put localhost only in APP_URLkalle
03/26/2022, 8:06 AM24C Felix
03/26/2022, 9:40 AMkalle
03/26/2022, 11:05 AMafterSave, afterDelete, prepareFieldsBeforeSave etc and from there you can make changes to the static files.
Other option would be native Laravel event approach https://laravel.com/docs/9.x/eloquent#events
But I really dont feel like this is the right way with the static files, since your frontend depends on dynamic data.UtuyutuF
03/26/2022, 11:05 AMkalle
03/26/2022, 11:06 AM24C Felix
03/26/2022, 11:07 AM24C Felix
03/26/2022, 11:08 AMkalle
03/26/2022, 11:11 AM24C Felix
03/26/2022, 11:13 AMkalle
03/26/2022, 11:15 AM24C Felix
03/26/2022, 11:16 AMifox
03/26/2022, 11:39 AMUtuyutuF
03/26/2022, 11:56 AMUtuyutuF
03/26/2022, 12:04 PMUtuyutuF
03/26/2022, 4:19 PMlang.csv to newer one. After executing php artisan twill:lang it's throw error mkdir(): file exists and it seems stop generating lang.php files after Hebrew languange. how to solve that ?UtuyutuF
03/26/2022, 5:44 PMlang.csv that comes from twill version 2.7.0 (that currently i'm using) seems bugged maybe ? or at least in my case.
After executed php artisan twill:lang, tweaking a little bit of command code and checking the result in lang.php file, i found that the array keys is filled with arabic language that can't be displayed in admin panel. But if i use lang.csv that comes from twill version 2.6.0, the SyncLang command is working as intended and currently i set my twill locale to display target language as i don't know yet how to add new language option to CMS Users settings 😆ifox
03/26/2022, 5:46 PM