If we could set the editor file url in config then I'd just swap mysite.com/fckeditor/fckeditor.js with mine in theme/functions.php ie.
$_CONF['adv_editor_path'] = /layout/foley/js/ckeditor/ckeditor.js;
$_CONF['adv_editor_js'] = /layout/foley/js/adv-editor.js;
Looking over things I wonder if this is the easier way to go since with the other way you are never sure when things get set (ie contribute form, story, comment, staticpage). Setting the paths at the begining would solve this problem.
$js = 'geeklogEditorBasePath = "' . $_CONF['site_url'] . '/fckeditor/";';
$js .= 'document.getElementById("advanced_editor").style.display="";';
The story editor also sets this which is just used for archive along with showhideEditorDiv:
The question is what can we do to make it easy to allow for other editors. The path idea will work for the 2 js files (I am asuming we can combine advanced_editor and storyeditor_fckeditor together).
What should we do for the non file stuff (that is fckeditor related)? I guess we could add a config option for that as well...
One of the Geeklog Core Developers.