Questions tagged [laravel-backpack]

Backpack for Laravel is a selection of Laravel packages designed to make building administrative panels easier. Use with the [laravel] and/or [php] tags

  • Backpack helps to build sections where your admins can manipulate entries ;CRUD Panels to perform most basic operations.
  • Backpack provides with a visual interface for the admin panel.

To know more about it visit backpack.

855 questions
4
votes
2 answers

Laravel backpack restrict user access to admin panel

I'm trying to change checkIfUserIsAdmin() method in CheckIfAdmin middleware for disabling access to all users without role admin What happened: Nothing. backpack_user()->can(...) or backpack_user()->role(...) don't working... Is that right way to…
user137
  • 629
  • 1
  • 8
  • 20
4
votes
2 answers

How to pass params in url to a backpack create form

I'm using backpack 3.3 on a laravel 5.5 installation. I want to prefill two create form fields with two URL passed values. Say you create a basic backpack crud, named Image. Normally you can go to domain/admin/image/create to view and fill in the…
massimo colella
  • 83
  • 1
  • 11
4
votes
2 answers

Dropdown Sidebar Menu Items in Laravel Backpack

In the Laravel Backpack docs they show an image that appears to have dropdown menus for the sidebar navigation menu, but I can't find anywhere that says how to use them. Is there a built in way or do I have to write my own styles?
Casey
  • 536
  • 2
  • 14
  • 28
4
votes
1 answer

InvalidArgumentException in FilesystemManager.php line 121: Driver [] is not supported

I've seen several threads with this error but not of them are the right fix for me. Getting this error when I try to delete an entry in my Laravel Backpack CRUD tables: InvalidArgumentException in FilesystemManager.php line 121: Driver [] is not…
Casey
  • 536
  • 2
  • 14
  • 28
4
votes
1 answer

Laravel Backpack - Unknown database type tsvector requested

I'm using Backpack for Laravel as my back-end for managing entities. I have a 'show' entity, which is defined as such: public function up() { Schema::create('shows', function (Blueprint $table) { $table->increments('id'); …
carbide20
  • 1,717
  • 6
  • 29
  • 52
3
votes
1 answer

Laravel Backpack Admin Login 419 Page Expired

I created a new Laravel project for both APIs and Admin. I first installed Sanctum for the API authentication and then I installed Backpack. After the Backpack installation, I hit the admin URL and attempted to log in but I got the 419 page expired…
Elrah Lab
  • 31
  • 2
3
votes
5 answers

Remove filter's label in Backpack for Laravel

Does someone know in which file exactly can I delete the filter result label at the list view? For example, say that I have a list of teams, and in each team, I also have a list of users. I want to filter out the users that are not inside the team's…
felixbmmm
  • 362
  • 3
  • 13
3
votes
2 answers

ListEntries in table for relationship on show page - backpack for laravel

Just new with backpack. I search on official site and googled it, but dit not found an answer In laravel 7, using Backpack 4.1 My data model is : Customer has many addresses Relationship is configured in the Customer model : public function…
AlanSmith
  • 71
  • 6
3
votes
1 answer

Is there any way to get a specific version of a model in laravel backpack-crud?

I'm using VentureCraft/revisionable for laravel-backpack-curd, I know it helps me to manage a model's change history, but I want to switch to a specific version of a model and get it completely as a model. is there any way to do this? Let me explain…
Meysam Zarei
  • 419
  • 2
  • 14
3
votes
1 answer

overwrite the translations in BackpackForLaravel

I would have a question if I wanted to override the translations is there a place to put the base file? because if I put the new strings here when I update I delete everything ex: { trans('backpack::base.already_have_an_account') }} should i put…
user13269152
3
votes
2 answers

Are there any Backpack for Laravel packages that would allow live AJAX CRUD editing?

I really like the focus on responsive tables Backpack has but are there any ways to edit fields inline in a row or add data inline without a new page or a pop-up modal?
Katie
  • 31
  • 1
3
votes
0 answers

Laravel Backpack::crud set permission (role) to a category

I'm trying to set Role (or permission) to my category in Laravel Backpack (newscrud). I have added the field of Role in CategoryCrudController class and category_role table in DB and set relations in Category and Role models. the relation data is…
Yousef .f
  • 31
  • 3
3
votes
3 answers

How to add a default ordering of ListEntries table in Backpack for Laravel?

When a user first visits the page, the ListEntries table is ordered ascending by id and none of the ordering icons in the table header are active. I would like to have the ListEntries table ordered by a column of my choosing, including having the…
Tiamo Idzenga
  • 1,006
  • 11
  • 23
3
votes
1 answer

Filter table with a column in Laravel Backpack

I have a Employee table which display like this: +-------------------------------+ | id | name | code | --------------------------------- | 1 | Employee 1 | A1 | | 2 | Employee 2 | A2 | | ... | ... | ... …
Tomato
  • 759
  • 2
  • 14
  • 26
3
votes
1 answer

Conditionally redirect users after login in laravel backpack

I have some roles asigned to users. I would like to have a user redirected after login to different urls in order the role that user belongs to. I have followed this post but it didn't work to me. I don't know if using backpack it would be…
Kezern
  • 473
  • 5
  • 19
1
2
3
56 57