I am using CKEditor with Drupal 6.19. I have tried my installation with both CKFinder and IMCE. When an image is inserted from the image browser into the Image Properties window, CKEditor gets a url similar to:
/sites/example.com/files/images/my_image.jpg
I want CKEditor to simply have:
/files/images/my_image.jpg
file structure of my site is this:
/sites/all/modules/ckeditor/ckeditor
/sites/all/modules/ckeditor/ckfinder
/sites/all/modules/imce
/sites/example.com/files/images/my_mages.jpg
Is this url passed from the file browser, or a default in CKEditor?
If it is CKEditor, where do I find the code to change this, or is it even possible?
/sites/example.com/files/images/my_image.jpg
I want CKEditor to simply have:
/files/images/my_image.jpg
file structure of my site is this:
/sites/all/modules/ckeditor/ckeditor
/sites/all/modules/ckeditor/ckfinder
/sites/all/modules/imce
/sites/example.com/files/images/my_mages.jpg
Is this url passed from the file browser, or a default in CKEditor?
If it is CKEditor, where do I find the code to change this, or is it even possible?
Re: Help Modifying CKEditor Paths
You are looking in the Drupal source code (Likely inside the CKEditor plugin's folder some where) for either a javascript file which creates the CKEditor configuration and sets the filebrowserImageBrowseUrl option. Or you are looking for a PHP file in the Drupal source code (Again, likely to be inside the CKEditor plugin's folder some where) which generates the CKEditor configuration and sets the filebrowserImageBrowseUrl.
Honestly, the drupal forums are the right place to ask about Drupal modules, specifically the group which is attached to the CKEditor plugin for Drupal.
Actually, you should probably request what you want as a new feature but with development focusing on D7 right now, there may be little interest in the developers in doing so for D6. You can politely ask, or submit a patch to them, I guess.
Thanks,
Zanpakutō