Skip to content

Commit b7eecf5

Browse files
authored
Merge pull request #636 from Laravel-Backpack/update-upgrade-guide
update upgrade guide
2 parents 3ac8143 + a26ff15 commit b7eecf5

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

7.x-dev/upgrade-guide.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Please make sure your project respects the requirements below, before you start
4242
<a name="step-2" href="#step-2" class="badge badge-danger text-white" style="text-decoration: none;">Step 2.</a> Bump the version of any first-party Backpack add-ons you have installed (eg. `backpack/pro`, `backpack/editable-columns` etc.) to the versions that support Backpack v6. For 3rd-party add-ons, please check each add-on's Github page. Here's a quick list of 1st party packages and versions:
4343

4444
```js
45-
"backpack/crud": "dev-next",
46-
"backpack/pro": "dev-next",
45+
"backpack/crud": "^7.0@dev",
46+
"backpack/pro": "^3.0@dev",
4747
"backpack/filemanager": "dev-next",
4848
"backpack/theme-coreuiv2": "dev-next",
4949
"backpack/theme-coreuiv4": "dev-next",
@@ -91,7 +91,19 @@ No changes needed.
9191
<a name="config"></a>
9292
### Config
9393

94-
No changes needed.
94+
**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:
95+
```diff
96+
- 'layout' => 'horizontal',
97+
+ 'layout' => 'horizontal_overlap',
98+
```
99+
You should also remove the glass skin and fuzzy background from the theme styles:
100+
```diff
101+
'styles' => [
102+
base_path('vendor/backpack/theme-tabler/resources/assets/css/skins/backpack-color-palette.css'),
103+
- base_path('vendor/backpack/theme-tabler/resources/assets/css/skins/glass.css'),
104+
- base_path('vendor/backpack/theme-tabler/resources/assets/css/skins/fuzzy-background.css'),
105+
],
106+
```
95107

96108
<a name="controllers"></a>
97109
### CrudControllers
@@ -106,7 +118,7 @@ No changes needed.
106118
<a href="assets"></a>
107119
### CSS & JS Assets
108120

109-
No changes needed.
121+
110122

111123
<a name="views"></a>
112124
### Views
@@ -143,9 +155,10 @@ If the table view still looks wonky (search bar out of place, big + instead of e
143155
<a name="addons"></a>
144156
### Upgrade Add-ons
145157

146-
For any addons you might have upgraded, please double-check if they have an upgrade guide. For example:
147-
- Xx package has the upgrade guide here;
148-
- Yy package has the upgrade guide here;
158+
**backpack/file-manager** Using the File Manager package? Most of the views that weren't in use were removed, and the dependencies were bumped. If you didn't do any customization you should delete the `resources/views/vendor/elfinder` (`rm -rf resources/views/vendor/elfinder`) folder.
159+
No need to publish any views anymore if you are not customizing them. If you were, publish the new view files (`php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="elfinder-views"`). Then apply your customization on the new files, now located at: `resources/views/vendor/backpack/filemanager/`
160+
161+
Additional the `browse` and `browse_multiple` **fields/columns** are now part of this package. If you previously made any modifications to this fields/columns you should publish the new views (`php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanger-fields"` and `php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanager-columns"`), and carry over the modifications from the old files to this new files.
149162

150163
---
151164

0 commit comments

Comments
 (0)