Skip to content
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

display file manager : icons overflow on text #28

Open
Antonyab opened this issue Mar 8, 2022 · 1 comment
Open

display file manager : icons overflow on text #28

Antonyab opened this issue Mar 8, 2022 · 1 comment

Comments

@Antonyab
Copy link

Antonyab commented Mar 8, 2022

Thank you gorden for your reply.

The library is well structured. I will try to add the options that I want.

Based on the examples that you provided, I tried to display the file manager using iframe.

I used this code :

<iframe src="/filemanager/dialog.php?type=0&rootFolder='C:\\Users\\'" frameborder="0" style="overflow:hidden;min-height:600px; height:100%;width:80%"></iframe>

on page load the file manager is shown correctly :
Capture

If I click on a folder or a file, the icons overflow on the text :
Capture1

Do you have any idea how to solve this issue?

And regarding the current path that i need to show in the file manager, it is only charging the path that I configured in appsettings.json.
If I try to pass an other path via the argument rootFolder, it is not working.

thank you in advance for the help.

regards,
Antony

@gordon-matt
Copy link
Owner

For the overflow issue, it seems like a problem with the RFM itself. You should look for help from RFM's developer instead: https://github.com/trippo/ResponsiveFilemanager

As for rootFolder, that should point to an existing subfolder... inside of the main path that you configured in appsettings.json. The idea of rootFolder is in the case you have a folder per user.. or in a multi-tenant situation you maybe want a folder per tenant.. then you can structure your media folder like this:

"/Media/Uploads/"
"/Media/Uploads/Tenant_1"
"/Media/Uploads/Tenant_2"
etc..

So you can pass "Tenant_" + tenantId for the rootFolder. Of course you need to ensure the folder exists as well..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants