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
0
votes
0 answers

nested hasmany relationship in laraval-admin

I am stuck in a nested hasmany relation. Here is a scenario where there are no units entered separately by the user and milestones in this form must be equal to the number of units and each unit can have multiple milestones. I was trying to loop but…
AG_
  • 2,589
  • 3
  • 20
  • 32
0
votes
0 answers

Laravel Custom Admin Authentication Not Working

I am trying to make a seperate custom admin login in laravel. Everything worked except when i login in from admin login even though the password and email is correct the if conditon is not executed in AdminLoginController.php inside app/Http/auth.…
0
votes
1 answer

laravel-admin.org generate menu command line

im using laravel-admin.org as my laravel admin panel when i want to access my system admins, i generate a new route by this command php artisan admin:make UserController --model=App\\User then it make a controller for me. then after running this…
saber tabatabaee yazdi
  • 4,404
  • 3
  • 42
  • 58
0
votes
1 answer

Laravel-admin: relation many-to-many does't work

I use laravel-admin (https://laravel-admin.org) in my laravel project. I wish to show on User admin panel role names of user. But I get error message: SQLSTATE[42703]: Undefined column: 7 ERROR: column users_roles.role___id does not exist LINE 1:…
alex
  • 307
  • 1
  • 13
0
votes
1 answer

How to set custom js file in Laravel admin template

I am using Laravel 5.8 with laravel-admin Template for admin. Now in some situation i need custom js and css file only for admin specific controller. How to add these Js and css in laravel-admin.
Fawwad
  • 131
  • 1
  • 5
0
votes
1 answer

How to validate multiple columns unique in laravel-admin?

Columns of Table id idea_id question_id What I want to do I want to validate the same idea_id and the same question_id. For example. id : 1 idea_id : 1 question_id : 1 id : 2 idea_id : 1 question_id : 2 id : 3 idea_id : 2 question_id : 1 id :…
Naoki Oshiumi
  • 91
  • 1
  • 10
0
votes
1 answer

how to get laravel-admin grid query and search condition

I want to get the SQL and search conditions built on the search screen of laravel-admin to register in the DB. Because I can search under the same conditions. My question is "how to get search conditions like 'scheduled_date' at search result" grid…
syun-03
  • 1
  • 2
0
votes
1 answer

Laravel Multi Roles

I am just new in Laravel 6. I installed the default auth in Laravel. I want to have multiple user. Admin - This user can monitor everything from the dashboard and other pages. Maker - This user can create only a job. Approver - This user can only…
0
votes
1 answer

Can`t make cascade select in z-song laravel-admin

Laravel Version: 5.8 Laravel-admin: 1.7.9 I can`t make cascade select I have tables: users: id, name categories: id, name categories_users: id, categories_id, user_id models: class User extends Authenticatable { public function category() { …
0
votes
1 answer

CSRF token error when generating data from canvas

I'm using a package called laravel-admin. I created a custom signature field with popular SignaturePad package, the data got converted into image successfully. However when I tried to submit the form I've got an error saying CSRF token miss match.…
Robert Tirta
  • 2,593
  • 3
  • 18
  • 37
0
votes
1 answer

How to add your exceptions when deleting an entity having a relations on Laravel Admin?

When deleting an entity in Laravel-Admin having a relationship, a not-so-informative error dialog box crashes from the user's point of view. How to handle this exception in the framework of Laravel-Admin in order to give the user an informative…
devAston
  • 63
  • 10
0
votes
2 answers

how to get laravel-admin grid value

i want to use laravel grid add a link with product_id (not PK) to open new window with iframe-tabs for search i have tried assign variable from grid ,but it always say Object of class Encore\Admin\Grid\Column could not be converted to…
James Lin
  • 11
  • 1
  • 5
0
votes
2 answers

Make models and controllers for a mysql database in laravel?

I have a mysql database with some tables in it , is there anyway to create models and controllers for this database using larvael framework ? I mean the fast way to do it , any command ... Thank you for helping me , any suggestion will be hellpfull…
T.Pool
  • 145
  • 1
  • 2
  • 13
0
votes
1 answer

Laravel authentication api and web

I have api for frontend and admin part for web. The user is authenticated on the api of the frontend using a passport. The user can get the role - admin. How to give user access to the admin area if it is authenticated already with a passport? How…
0
votes
1 answer

Shown Success / Failure message after laravel admin action is executed

I want shown message in laravel admin panel after action is executed or when i will redirect to listing or other page. I have configured the laravel-admin package so inbuilt laravel module message showing in toaster so i want to need similar to…
Kishan Patel
  • 485
  • 4
  • 17