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

How to add and then display images urls from database in Laravel/Backpack CRUD?

I can upload files with special field upload_multiply and then save their names in DB, but how to print them back when editing the record? I use one-to-many relation, database structure like objects and objects_images, where exist object_id, name…
Alexander Guskov
  • 371
  • 1
  • 2
  • 14
0
votes
1 answer

BackPack PageManager fields.select_page_template not found

While accessing pages or creating pages getting the following error: ErrorException in FileViewFinder.php line 137: View [fields.select_page_template] not found. (View:…
Sarvesh Acharya
  • 176
  • 1
  • 4
  • 14
0
votes
1 answer

Checkbox not working laravel backpack CRUD

$this->crud->addField([ 'name' => 'status', 'label' => 'Featured item', 'type' => 'checkbox', ]); The generated code is following:
0
votes
1 answer

How to use extra column in a pivot table

I need to make a custom field just like checklist, but in a table and with a second field "order". This is what I have: Model 1: Conditions with relations "belongsToMany" Model 2: SubServices These two models are in relations with the table…
DaveThe
  • 11
  • 2
0
votes
1 answer

Adding a grid as a below the edit form in laravel backpack

I have User that has many Posts. Bellow the User edit form I want to show the related Posts grid. The following function will bring the related posts. How can I combine it above/inside/bellow the edit User form? I know this function will work, just…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
0
votes
1 answer

Backpack laravel Page Link empty

[id] => 1 [name] => About us [type] => page_link [link] => [page_id] => 1 [parent_id] => [lft] => 2 [rgt] => 3 [depth] => 1 [created_at] => 2017-02-05 07:25:22 [updated_at] => 2017-02-05 07:25:38 [deleted_at] => When adding 'Type' as…
Sarvesh Acharya
  • 176
  • 1
  • 4
  • 14
0
votes
1 answer

Laravel Passport Backpack Api returns 404

Currently working on creating an API for my Laravel Backpack application. I have followed the instructions here on getting this setup, but I am getting a Backpack Error 404 when I try to GET /user How do I fix…
Sakamoto Kazuma
  • 2,573
  • 7
  • 34
  • 75
0
votes
1 answer

Backpack CRUD categories select field

I have some trouble here. I use Backpack CRUD generator for my admin panel. In the database (categories column) I have a "parent_id" field which specify which is parent and children. The addFiled of CRUD has a type "select_from_array" which accept…
0
votes
1 answer

token mismatch error in laravel backpack

hi there is problem with me I had made complete admin panel using laravel backpack. after uploading on domain its creating the problem when adding deleting or editing operation performs. Error is token mismatching in backpack crud system. please…
Usman Hafeez
  • 357
  • 1
  • 7
  • 20
0
votes
1 answer

How to modify field in Laravel-Backpack/Settings

Instead of a text field, I'd like to add a dropdown to Value field in Laravel-Backpack/Settings, admin/setting/10/edit page. I appreciate any suggestions. I used the following in DB settings field but it gives an…
shin
  • 31,901
  • 69
  • 184
  • 271
0
votes
1 answer

Modify Laravel Backpacker CRUD list view

I have Laravel 5.2 Backpacker admin for my new project and I need to make minor adjustments to the generated list view. Ie: I have amount stored as cents in database, but would need to show as regular amount, so this would basically require to…
Peon
  • 7,902
  • 7
  • 59
  • 100
0
votes
1 answer

Javascript messes with orderBy in my CRUD in Laravel Backpack

I followed the process in this question and everything works, but I wanted to see the order in my displayed page. I updated My controller with this: $this->crud->orderBy('lft'); But it doesn't seem to work. I then desactivated the JavaScript, and…
Marc Brillault
  • 1,902
  • 4
  • 21
  • 41
0
votes
1 answer

Laravel Backpack Permissions From Setup

I am currently using the PermissionManager package for Laravel-Backpack, and I see instructions on how to add permissions through the UI. I need to add roles and permissions from a script or setup (DB Migration maybe), and I see no documentation…
Sakamoto Kazuma
  • 2,573
  • 7
  • 34
  • 75
0
votes
1 answer

How can I obtain the values of an Entity in Laravel-Backpack?

While I was trying to show pictures I made this pleasant discovery in backpack: $this->crud->addFields([ [ // Upload 'name' => 'pictures', //<-- this is an Entity 'label' => 'Photos', 'type' => 'upload_multiple', …
Cinzia Nicoletti
  • 169
  • 1
  • 14
0
votes
1 answer

Laravel-backpack download after some job is finish

i use backpack and im trying to download zip that have Json of some query and images, inside. what i need is exactly like backpack backup. download after backuping is done. in my case, i need download when zipping is done. zipping proses is in the…
Frasaccordi
  • 29
  • 1
  • 4