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
2 answers

Laravel-Backpack image field debug

I have a problem with saving one field, how can I debug? dd in AdvertController.php has no effect. All other fields are stored properly. AdvertController.php class AdvertController extends Controller { public function…
neuroine
  • 174
  • 2
  • 19
0
votes
1 answer

parse variable from view to controller laravel-backpack

im using Laravel-Backpack. could we parse some param from view to backpack controller? imagine i have some list of a package. each package has 5 round so every package has 5 button in its row. when i click first button(round 1) it will open the list…
Frasaccordi
  • 29
  • 1
  • 4
0
votes
2 answers

How add a request item to Backpack-Laravel?

I have to pass the secret author_id of the user when he edit for example an Article and memorize that into the Database in Backpack-Laravel. How can do that? I be able to do just this, the value appears in the $request array (I use dd($request) for…
Cinzia Nicoletti
  • 169
  • 1
  • 14
0
votes
2 answers

How to go directly in the edit section in Backpack-Laravel?

I need that when you to click on an item in the Backpack sidebar (For ex. Profile), I immediately can edit the information in this page (For ex. the user who is writing, then the name, surname, date of birth etc.) without going through the table,…
Cinzia Nicoletti
  • 169
  • 1
  • 14
0
votes
1 answer

Laravel 5.2 backpack get the parameter from url

I am stuck with a problem that don't know how to get the value from url. I am new in backpack. please help me with this..... I want my details on a view based on the id that is passed from another view, how to implement this?? this is my…
Pooja Krishna
  • 193
  • 1
  • 5
  • 26
0
votes
1 answer

Get selected value from select_from_array field using laravel 5.2 Backpack

I am using Laravel 5.2 Backpack in my new project where I have a select_from_array field in my form, depending upon the selected value I want data to be displayed in another select_from_array field. Don't know how to do that. Please help me with…
Pooja Krishna
  • 193
  • 1
  • 5
  • 26
0
votes
1 answer

ErrorException in CrudTrait.php Undefined offset: 0 Backpack for Laravel 5.2

i want create dynamic combobox from database, but i have an error with this message : ErrorException in CrudTrait.php line 32: Undefined offset: 0 (View: /home/vagrant/Code/hrd/resources/views/vendor/backpack/crud/fields/select2.blade.php) (View:…
-1
votes
2 answers

Check an extra field in backpack admin login

I want to check an extra field that is stored in the users table (for example approval field) in the login process. In what way I can handle this, actually out of the vendor's scope?
Meysam Zarei
  • 419
  • 2
  • 14
-1
votes
0 answers

Polymorphic relation in Backpack. Error Call to undefined method App\Models\Rating::rateable_id()

When i'm trying to create a Rating in RatingCrudController i'm getting an error Call to undefined method App\Models\Rating::rateable_id() in function setupCreateOperation. protected function setupCreateOperation() { $user = backpack_user(); …
Abdo Rabah
  • 1,670
  • 2
  • 15
  • 31
-1
votes
1 answer

How to get view from backpack button method?

I have a laravel backpack app. I add in setupListOperation: addButtonFromView('line', 'getPage', 'backpack-pages::preview-page', 'beginning'); Set viewspace backpack-pages, and get error Button view and fallbacks do not exist for getPage…
user263980
  • 29
  • 2
-1
votes
2 answers

Laravel 9 Backpack 5 addBaseClause from 2 tables

I've been trying pretty much every possibility that came into my mind, but no luck. I'm trying to show a list of companies created WHERE the parent user_id in the Companies table is backpack_user()->id OR company_id AND user_id are present in the…
-1
votes
1 answer

Laravel Backpack PermissionManager in crud

They are at the first experiences with laravel 5 and backpack. I installed the backpack permission manager and I have a questions: I created permissions / roles and created two users. in my sidebar_content.blade.php I use conditions correctly …
Mattew
  • 1
-1
votes
1 answer

How to replace actions with html icon on backpackforlaravel

I have created this app with backpack for laravel where the table created by using backpack:build I need to replace the word actions with an icon from line-awesome for example toolbox I tried to add the HTML on the…
Mansour Alnasser
  • 4,446
  • 5
  • 40
  • 51
-1
votes
1 answer

Database driver change error in laravel/backpack

i am using sqlsrv i want to move db to mysql, i edited .env file to DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=admin_fms DB_USERNAME=root DB_PASSWORD= and run php artisan config:cache but i giving this error, i see it is still…
Ferhat KOÇER
  • 3,890
  • 1
  • 26
  • 26
-1
votes
1 answer

\Image::make fails in production ( Laravel )

I am trying to upload images through Laravelbackpack. Everything work properly in localhost, but when I deploy it on Heroku it fails. The line that is causing the server error is: $image =\Image::make($value)->encode('jpg', 90);
Petro Bianka
  • 135
  • 1
  • 8
1 2 3
56
57