Questions tagged [laravel-admin]

Don't use this tag for general admin/dashboard. This tag is for encore/laravel-admin package an administrative interface builder for Laravel.

Laravel Admin is administrative interface builder for Laravel which can help you build CRUD backends just with few lines of code.

References:

72 questions
1
vote
1 answer

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

I am developing this package: https://github.com/craftisan/laravel-seo as an extension for laravel-admin and while requiring it via composer into a laravel project, I am getting this error (see github issue here): % composer require…
Deekshant Joshi
  • 73
  • 1
  • 1
  • 10
1
vote
2 answers

How to make dynamic link from array value in laravel?

The purpose that I want to make a link from an array value is the link will show detail's modal. So I have this array: array:1 [▼ 42 => "00285", 43 =? "00123" ] I found some method like this: foreach ($certificate->pluck('number',…
vreedom18
  • 341
  • 2
  • 13
1
vote
2 answers

RowAction for grid in Laravel-admin uses the same class identifier. How to set the generation of a unique class identifier for each row?

There is a custom button class (extends from Encore\Admin\Actions\RowAction). The class has a confirmation window with unique information for each row.     / **      * @return void      * /     public function dialog()     {         $model =…
devAston
  • 63
  • 10
1
vote
0 answers

Laravel Login multiple systems without logout when logged out from one system

I am using laravel 5.8 and session based login (session store in db) with remember me token but I have a issue if I log out from one device, other device (in session timeout) also gets logged out because when I logged out from one system its…
1
vote
1 answer

How do I add new except page to shouldPassThrough

I use google authenticator to add in laravel-admin in post to new page /auth/auth , always be redirect to /auth/login, because “/auth/auth” not in admin.auth.excepts how do I solve this problem without…
James Lin
  • 11
  • 1
  • 5
1
vote
1 answer

how to disable delete action in laravel encore admin

Please see the attached image. I want to disable or remove delete action in laravel encore admin.
Muhammad Muzamil
  • 1,013
  • 2
  • 18
  • 25
0
votes
0 answers

laravel-admin use url/prefix 404 not found

server { listen 80; listen [::]:80; server_name www.kakura.com; rewrite ^(.*) https://$server_name$1 permanent; } server { listen 443 ssl; server_name kakura.com www.kakura.com; charset utf-8; …
0
votes
0 answers

laravel-admin Image not showing in edit page

I'm working on laravel-admin project. The problem is in edit page image is not showing. please help me out. what am I missing here Thanks in Advance View Page (Image is displaying) protected function grid() { $grid = new Grid(new…
palika
  • 41
  • 2
  • 10
0
votes
0 answers

laravel-admin bind dynamic element with jquery

I have add more fields group for which I am using laravel-admin below code protected function form() { Admin::script('$("body").on("change", "#has-many-negotiations input[type=\"radio\"]", function() { console.log("s"); });'); …
silentcoder
  • 992
  • 3
  • 9
  • 21
0
votes
0 answers

Nested form image type not get stored value in edit action in laravel open-admin

I have one-to-many relationship tables called "Flag" and "flagimages". I want to store all my data in one form. Therefore, I created a nested form in "flagcontroller". I have a number of images, which each image has caption text for one flag. In…
0
votes
0 answers

Laravel Admin - regenerate admin after database change

I am developing a Laravel application, and I use Laravel-Admin (https://laravel-admin.org/docs/en/) for an admin panel. It worked well, but after I changed the database for the application, I do not know how can I regenerate admin user for the…
mpg26262
  • 13
  • 4
0
votes
1 answer

Disk [admin] not configured, please add a disk config in `config/filesystems.php`

At first, after receiving this problem, I added this to config/filesystem as instructed: 'admin'=\> \[ 'driver' =\> 'local', 'root' =\> storage_path('app'), 'visibility' =\> 'public', 'url' =\> env('APP_URL').'/storage', \], And the problem…
0
votes
1 answer

Is there any method to crop image in laravel open-admin?

NotSupportedException In AbstractEncoder.php line 200 : Encoding format (tmp) is not supported. Previously, I uploaded images in Laravel Open-Admin for my specified storage path. It worked correctly. but later I have to crop images when uploading.…
0
votes
0 answers

display column expansion in dcat admin

In UserController $grid->post->display('users_id')->expand(User::make(['users_id'])); $grid->post->expand(function () { return User::make(['id','content', 'created_at' => $this->title]); }); In User Model ` public function render() { $id =…
Sushi
  • 13
  • 3
0
votes
0 answers

timestamp changed to format laravel

protected function grid() { $grid = new Grid(new Article()); $grid->column('id', __('Id')); $grid->column('name', __('Author')); $grid->column('title', __('Title')); $grid->column('content',…
Sushi
  • 13
  • 3