Skip to content

Clean unused files, remove need to publish views #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: named-assets
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ That's it. Hit refresh in your admin panel, and you'll find a new sidebar item p

You can use elFinder in Backpack:
- stand-alone, by accessing the ```/admin/elfinder``` route (see screenshot above);
- inside the [```browse```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse), [```browse_multiple```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse_multiple) or [```ckeditor```](https://backpackforlaravel.com/docs/4.1/crud-fields#ckeditor) field types;
- inside the [```browse```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse), [```browse_multiple```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse_multiple);

## Customization

You can publish the views to your `resources/views/vendor/backpack/filemanager` folder by running:

```bash
php vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="views"
```

## Upgrade

Expand Down
127 changes: 0 additions & 127 deletions resources/assets/css/elfinder.backpack.theme.css

This file was deleted.

67 changes: 0 additions & 67 deletions resources/views/ckeditor4.blade.php

This file was deleted.

83 changes: 0 additions & 83 deletions resources/views/ckeditor4.php

This file was deleted.

2 changes: 2 additions & 0 deletions resources/views/common_styles.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<title>File Manager</title>
{{-- elFinder CSS (REQUIRED) --}}
@basset('bp-elfinder-css')
@basset('bp-elfinder-icons-big', false)
@batter('bp-elfinder-logo', false)
@basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/css/theme.min.css')
@basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/images/loading.svg', false)
@basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/font/material.eot', false)
Expand Down
4 changes: 2 additions & 2 deletions resources/views/elfinder.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

@section('after_scripts')

@include('vendor.elfinder.common_scripts')
@include('vendor.elfinder.common_styles')
@include('backpack.elfinder::common_scripts')
@include('backpack.elfinder::common_styles')

<!-- elFinder initialization (REQUIRED) -->
<script type="text/javascript" charset="utf-8">
Expand Down
72 changes: 0 additions & 72 deletions resources/views/elfinder.php

This file was deleted.

Loading
Loading