Comments (3)
I did not quite understand what you need ..
If you need to show only "products" folder - add a new disk(in config/filesystems.php):
'products' => [
'driver' => 'local',
'root' => public_path('files/general/products'), // set here your path
...
],
And add this disk to file manager config file.
'diskList' => ['products'],
from laravel-file-manager.
First of all, sorry for the language, use of automatic translators. If I had only one folder I could proceed in the way you indicated, but when you interact with different folders the question changes..
example:
regardless of users, I have to dynamically access and restrict the visibility to a folder before, for which
ex..
general/folder A
general/folder B
general/folder C
........
general/folder N
It would take a way to set the folder to be displayed on the fly ... as an example
^^^^^^^^^^^^^^^^^^^^^
'accessDefaultFolder' => \App\Handlers\FileManagerHandler::class,
in the vendor/package
$folder = config('file-manager.accessDefaultFolder');
if (class_exists($folder)) {
$folder = app()->make($folder)->setFolderName();
}
Access and display only folder, subfolder and files contents ...
^^^^^^^^^^^^^^^^^^^^^
In the my class FileManagerHandler
public function setFolderName() {
return $this->dynamicSystemSetFolder()
// or ... if (..) return .. elseif () return ... etc...
}
from laravel-file-manager.
I do not quite understand what is required. My English is also bad :-).
But I guess you need to read the documentation section of the ACL. Pay special attention to the second example.
from laravel-file-manager.
Related Issues (20)
- Rename Folder not working if folder have folder inside HOT 1
- Change View HOT 1
- Error While Loading Image HOT 1
- GIF Is not giving an animated preview.
- How to add search by filename ? HOT 1
- How to sort the files by modified time of file ?
- #Laravel 10 - Your requirements could not be resolved to an installable set of packages.
- No listing directories on table selected
- Modal UI error after updating bootstrap 5.3.2 HOT 2
- Not able to find the folder details api call
- For text edit - is using CodeMirror library. Could I use visual studio code (vs code) in codeMirror Library?
- Rename folder not working for S3 HOT 1
- Package intervention/imagecache is abandoned,
- How to integrate with Laraberg?
- (FTP disk) 500 Error when creating a new folder - Directory not found
- Great work! But .... PDF open by dbl click doesn't work! HOT 1
- File extensions not showing in table view
- Modal not showing
- Not Inatalled laravel 10 HOT 1
- Upgrade to support Laravel 11 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-file-manager.