Category : laravel-admin

I am working on a small project on learning how to fix laravel admin panel. However I am encounter an issue. Here is the code Dashboard.php <?php namespace AppAdminControllers; use EncoreAdminControllersDashboard; class ABCDashboard extends Dashboard { /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public static function title() { return view(‘Dashboard.title’); } /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public ..

Read more

I am working on a small project on learning how to fix laravel admin panel. However I am encounter an issue. Here is the code Dashboard.php <?php namespace AppAdminControllers; use EncoreAdminControllersDashboard; class ABCDashboard extends Dashboard { /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public static function title() { return view(‘Dashboard.title’); } /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public ..

Read more

in controller $grid->column(‘cover_img’, ‘Cover’)->display(function ($cover_img) { return $cover_img ? asset(‘storage/media’).’/thumb_’.$cover_img : asset(‘bnpt/assets/images/BNPT.png’); })->lightbox(); I want it if it is not the same as the one in the database or there is no image in the database, it will be automatically filled manually with the image no image, how do I solve the problem? Sourc..

Read more