-
Notifications
You must be signed in to change notification settings - Fork 349
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
Issue on CKEditor integration when allow users to have their own folder #339
Comments
You can use "relPath": "../../", |
But I have to admit I did not work much on this. Hope it will works. If not, let me know. I'll try to fix this soon. |
Thanks but I cant get it working with that, it is not a relative url issue but looks like a concat somewhere... |
Should be ok now ! Please download latest version. Note that So, set "baseUrl": "http://localhost/base/public/filemanager/userfiles/"
"baseUrl": "http://localhost/base/public/filemanager/"
"baseUrl": "http://localhost/base/public/" They should all work correctly ! |
Thanks but you dont have changed filemanager.min.js ;) |
I did. Clear your cache and let me know ! |
Perfect ! I use relative url :
And all works fine ! |
Wonderful ! By the way and for your information (but you may already know)I reference your tutorial on the wiki : https://github.com/simogeo/Filemanager/wiki/Integrate-the-Filemanager-with-Laravel |
Yes I saw this reference, I've updated it with new features. |
I have a problem with "copy URL in clipboard". When I copy missing some letter in the beginning of filename. Fore example I copy http://filemanager/uploads/file1.jpg - and I have result http://filemanager/uploads/1.jpg |
what is the path set with |
I found the solution: in filemanager.config.js I change value "baseUrl": false - it's work!!!! |
hi, But it doesn't work ? |
Pleas be more accurate if you want any help. What do you want to do ? What is your folders structure ? What is your webserver root ? Where is FM installed ? Do you call |
i would like start my file tree 3 folder before my folder filemanager.
Like this exemple, i would like start file root at / Thanks for your help |
ok, i have found, sorry for the disruption serverRoot : false |
Assuming you have this kind of folders structure : - /home/user/
|
|_____ desiredRootFolder/
|
|________ folder1/
| |
| |_____ Filmanager/
|
|________ folder2/ Something similar to this should work "serverRoot": false,
"fileRoot": "/home/user/desiredRootFolder/",
"baseUrl": "http://www.mydomain.tld/my/path/", |
Thanks for your reply ! |
I need to be able to set baseUrl dynamically via PHP. Is that possible? |
Absolutely not ... |
Hello,
CKEditor integration works fine in classical way. But if I follow this page instructions to allow users to have their own folder I get images with wrong path.
To get it working I set this in config :
And I use setFileRoot to set the good path. And filemanager is working fine in this path.
But when I use it in CKEditor I get :
Instead of :
What am I doing wrong ?
Thanks
The text was updated successfully, but these errors were encountered: