Dear members,
I want to keep my files out of the public web folder (one level higher).
Ckfinder is installed inside the web folder.
Everything works fine (folder view, thnumbnails, download, ...) exept the 'View' function (right click on thumbnail) -> the path to the file is wrong: it's a concatenation of the domain name and the baseDir value.
How to get this right ?
Thanks,
Ivan
I want to keep my files out of the public web folder (one level higher).
Ckfinder is installed inside the web folder.
Everything works fine (folder view, thnumbnails, download, ...) exept the 'View' function (right click on thumbnail) -> the path to the file is wrong: it's a concatenation of the domain name and the baseDir value.
How to get this right ?
Thanks,
Ivan
Re: File folder above www folder -> path please?
If the file is not available in the public web folder, the View option (that simply should points to an URL) will not work.
There are two ways to solve this issue:
- remove the View option with disableFileContextMenuOption, leaving just the Download item to access the file
- use some custom script that will serve the file, and point baseUrl to this script:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+