Skip to content

Commit a7dce0d

Browse files
authored
Update Backpack add-ons and configuration options
Updated version requirements for Backpack add-ons and added new configuration options for operations.
1 parent f0b0d18 commit a7dce0d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

7.x-dev/upgrade-guide.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Please make sure your project respects the requirements below, before you start
4343

4444
```js
4545
"backpack/crud": "^7.0.0-beta",
46-
"backpack/pro": "^3.0@dev",
46+
"backpack/pro": "^3.0.0-alpha",
4747
"backpack/filemanager": "dev-next",
4848
"backpack/theme-coreuiv2": "dev-next",
4949
"backpack/theme-coreuiv4": "dev-next",
@@ -94,7 +94,16 @@ No changes needed.
9494
<a name="config"></a>
9595
### Config
9696

97-
**Theme Tabler** - The default layout for theme tabler has changed. If you had the tabler config published you are good to go. **In case you don't have the tabler theme config published** and want to keep the old layout, you should publish it by running `php artisan vendor:publish --tag="theme-tabler-config"` and changing:
97+
<a name="step-x" href="#step-x" class="badge badge-danger text-white" style="text-decoration: none;">Step X.</a> **Operation Config Files** - We have added new configuration options in the files inside `config/backpack/operations/`. If you have those files published, it is recommended that you copy the new options in your files too.
98+
99+
<a name="step-x" href="#step-x" class="badge badge-danger text-white" style="text-decoration: none;">Step X.</a> **Show Operation New Default** - inside `config/backpack/operations/show.php` you'll find a new option, to choose which component will be used on the show operation. By default it's the new component `bp-datagrid`, but you can switch to `bp-datalist` if you want to keep the same look as before:
100+
101+
```php
102+
// Which component to use for displaying the Show page?
103+
'component' => 'bp-datalist', // options: bp-datagrid, bp-datalist, or a custom component alias
104+
```
105+
106+
<a name="step-x" href="#step-x" class="badge badge-danger text-white" style="text-decoration: none;">Step X.</a> **Theme Tabler** - The default layout for theme tabler has changed. If you had the tabler config published you are good to go. **In case you don't have the tabler theme config published** and want to keep the old layout, you should publish it by running `php artisan vendor:publish --tag="theme-tabler-config"` and changing:
98107
```diff
99108
- 'layout' => 'horizontal',
100109
+ 'layout' => 'horizontal_overlap',

0 commit comments

Comments
 (0)