Is it possible to set a baseURL and BaseDir from the editor instance as opposed to the main config file? I am using ColdFusion and have tried using the following code, but the editor continues to use the baseURL and baseDir that is in the config file, ignoring the code below.
<script type="text/javascript">
//<![CDATA[
var a_editor = CKEDITOR.replace( 'body',
{
customConfig :'/common/js/ckeditor_config.js',
skin : 'kama',
toolbar : 'Basic'
});
CKFinder.SetupCKEditor( a_editor, {BasePath : '/common/ckfinder/', baseURL : '/Users/999/media/', baseDir : 'E:/WebSites/site2/999/media/' }
) ;
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var a_editor = CKEDITOR.replace( 'body',
{
customConfig :'/common/js/ckeditor_config.js',
skin : 'kama',
toolbar : 'Basic'
});
CKFinder.SetupCKEditor( a_editor, {BasePath : '/common/ckfinder/', baseURL : '/Users/999/media/', baseDir : 'E:/WebSites/site2/999/media/' }
) ;
//]]>
</script>
Re: Setting a different baseDir and baseURL than the main co
Re: Setting a different baseDir and baseURL than the main co
What you must do is to specify for example an id parameter and use that in the config script to select the proper path for each use. I think that Wiktor has explained this in some other thread