I would like to know, if there is a possibility to upload images into exactly specified directory in CKFinder whilst I am uploading it on my CKEditor website preview. Now images are uploaded in root directory "Images" in CKFinder. I would like to specify a unique directory for each upload.
Thank you. Martin
JS+
18:20 Mar 11, 2014
Hello,
Its not a problem. You can implement any logic you want. See the file `doksoft_uploader/uploader.php`. It comes with source so you can change it as you want. Find the function `uploadFile(...)`. See $toDir variable (function's parameter) - it defines a directory the file will be placed in. Write your own logic at the top of this function's body and change $toDir variable as you want.
I would like to know, if there is a possibility to upload images into exactly specified directory in CKFinder whilst I am uploading it on my CKEditor website preview. Now images are uploaded in root directory "Images" in CKFinder. I would like to specify a unique directory for each upload.
Thank you.
Martin