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
0
votes
1 answer

Backpack upload files to a directory based on record id

For fields of type upload or upload_multiple, I have a mutator that moves the uploaded file to a hard-coded location on disk (for example, 'photos\'). I need to save those files in directories based on the record IDs. So if I edit record with id 5,…
Emil
  • 91
  • 1
  • 1
0
votes
1 answer

Backpack crud field that displays an included filtered table

I need to make a new type of field, let's call it included_table. If in Model employees I have a field of type select2 from model Departments, in Departments, I want to have a field of type included_table which displays the table of the employees…
Emil
  • 91
  • 1
  • 1
0
votes
2 answers

cannot add button in lavavel backpack controller exeption view not found

flowing the doc in laravel backpack i wnated to add a specifique button beside the create button heer : https://laravel-backpack.readme.io/docs/crud-buttons i created a updatem.blade.php for my button then i declared my button as flow…
qasmaoui
  • 103
  • 1
  • 7
0
votes
1 answer

how to include or extends a language file in laravel vendor folder

I'm trying to load a language folder inside a laravel's package called permissionmanager , I know that including files directly inside vendor folder isn't the recommended way, but trying to extend it on the resources/views/vendor folder was…
Rodrigo Cabrera
  • 164
  • 3
  • 17
0
votes
0 answers

Extra fields for the type event_date_range

I only learn the fields in a backpack. The problem - when registering a type "event_date_range" I see two extra fields "Start_date" and "End_date". Details in the screenshot - https://i.stack.imgur.com/l3ylK.png . Why do they appear? What did I do…
0
votes
1 answer

backpack for laravel Add Colum from related table

I have table 3 tables, equipment(ID, name) parameters(ID, name) and the pivot table equipment_parameter(equipment_id, parameter_id) , on my "Equipment" list view i need to add a column with the name of the parameter so i need to retrieve name from…
Rodrigo Cabrera
  • 164
  • 3
  • 17
0
votes
0 answers

Mange users without permission package

How can I manage users without user the Backpage Permission package? Basically all users will be the same level. I tried creating a User crud and tying to the original User model but that doesnt seem to work. Any thoughts?
0
votes
1 answer

Laravel Backpack - Custom Route File

I am trying to override the default route of laravel backpack by adding role middleware, but cant able to show view file. Route::group(['middleware' => ['role:master']], function () { Route::get('/admin/users', function () { return…
Zack
  • 171
  • 2
  • 12
0
votes
1 answer

Nothing to migrate in Laravel Backpack Package [Laravel 5.4]

I am installing Backpack package in my project, I followed the documentation steps but when I do migrate it says "Nothing to migrate". I've already tried to publish the migrations but nothing works.
0
votes
1 answer

How to set another field in show table instead of the id in relationships fields in Laravel BackPack?

I have an issue here, I have an entity that contains relationships only, and I need to show in the table generated by backpack crud another field of the entity instead of the id, check it out in the picture below: For instance, the President is a…
bretanac93
  • 627
  • 8
  • 20
0
votes
0 answers

Laravel Backpack setting value on a field

$this->crud->addField([ 'label' => "Department", 'type' => 'select_multiple', 'name' => 'departments', // the method that defines the relationship in your Model 'entity' => 'departments', // the method that…
LeBlaireau
  • 17,133
  • 33
  • 112
  • 192
0
votes
1 answer

Laravel Backpack Login as Username and Password

I had Implemented Login Using "Username and Password" instead of "Email and Password" using Laravel Backpack in one machine and code was pushed to git, but When I had configured the same site in another machine using git then it is not working.Using…
Smit Shah
  • 314
  • 1
  • 3
  • 13
0
votes
1 answer

Show img from AWS S3 bucket

I can now upload JPG ifrom my BackpackForLaravel to AWS 3 Yahhh!!! But how or where can i make change this code: $this->crud->addField([ // image 'label' => "Produkt foto", 'name' => "productfoto", …
0
votes
1 answer

backpack crud filters by pivot table

PLease, somebody, help me with filters. I have 3 tables: complaint, frontend_tag, frontendtags_complaints I heed to filter complaints by frontend_tag here is my filter code: $this->crud->addFilter([ 'name' => 'frontendtags', …
0
votes
0 answers

Repeater fields with any content?

I like to add a repeater field with laravel-backpack. I'm trying to use table field, It works, but for text only. It's normal ? I would like to use it to be able to give a title, an image to uploader and a link, with the corresponding fields…
Jeremy
  • 1,756
  • 3
  • 21
  • 45