In one of my drupal installations, I need to customize the URL used for the "Browse Server" buttons, and according to the ckeditor documentation I should be able to use these config options in the ckeditor.config.js file:

CKEDITOR.config.filebrowserBrowseUrl
CKEDITOR.config.filebrowserFlashBrowseUrl
CKEDITOR.config.filebrowserFlashUploadUrl
CKEDITOR.config.filebrowserImageBrowseLinkUrl
CKEDITOR.config.filebrowserImageBrowseUrl
CKEDITOR.config.filebrowserImageUploadUrl
CKEDITOR.config.filebrowserUploadUrl

However, I discovered that they get ignored if I do that because ckeditor.module is hard-coding the values and superseding anything that gets put in the config file. Making the modification inside the .module file worked; however this will be problematic when the module gets updated.

If you're wondering WHY I need to customize the URL for the browse server button, it's because I don't want to pass the Resource Type to ckfinder on the Image button.

Comments

dczepierga’s picture

Status: Active » Closed (works as designed)

If u checked all options in file browser types to none in profile editing ckeditor module shouldn't overwrite config options.

If it doesn't help pls reopen this ticket, and we will try to do something with that.

jlea9378’s picture

Ahhh. That solved the problem! Thanks!