I'm working with a CMS which organizes content into projects. We have a content editor page (using ckeditor), which is going to integrate ckfinder. The settings for the ckeditor/ckfinder are different based on the current project.
For ckeditor, this wasn't much of a problem, i used a custom config path (in javascript) to a handler that included a project id query string parameter, which generates different configuration based on the parameter.
I'm having difficulty figuring out how to do the same thing for ckfinder. I can modify the connector page to output custom configuration, but I can't figure out how to modify the path dynamically to include a query string parameter. I've looked through ckfinder.js and it looks like the path is mostly hard-coded (except for the connectorLanguage) for each individual url generated in the script.
Is there any way to do this without modifying ckfinder.js?
For ckeditor, this wasn't much of a problem, i used a custom config path (in javascript) to a handler that included a project id query string parameter, which generates different configuration based on the parameter.
I'm having difficulty figuring out how to do the same thing for ckfinder. I can modify the connector page to output custom configuration, but I can't figure out how to modify the path dynamically to include a query string parameter. I've looked through ckfinder.js and it looks like the path is mostly hard-coded (except for the connectorLanguage) for each individual url generated in the script.
Is there any way to do this without modifying ckfinder.js?
Re: Dynamic connector path
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+