Hi, I am using CKFinder with CKEditor. I have it all working when just using a single upload directory but I am using it in a web template builder where multiple accounts/websites use the same CMS and editor but upload to their own image folders. I can't seen to dynamically set the config.cfm file without getting errors.
Right now my config.cfm file looks like this...
config.baseUrl = "http://www.mywebsite.com/"; config.baseDir = "D:/hshome/mydir/mywebsite.com/";
Re: Dynamic upload folders
well, if i had to do something like that, i would use the
function CheckAuthentication()
in the config file.
and according to the authentification of your users, include different sub_config files containing the part you want to modifiy for each user
have swing
Re: Dynamic upload folders
@ginx:
http://docs.cksource.com/CKFinder/Devel ... n/Sessions
make sure that SessionManagement si enabled and:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+