Thought I'd try post this in the forum as well as in module issues...
Load default language from global $language - anyone know how to do this? FCKedotor's auto-detect doesn't seem to work - and I would prefer it fckeditors ui language went off sites current language anyway.
I'm new to coding...
I'm guessing you can add code to fckeditor.module so that, if appearance configuration is turned off (in fckeditor profile settings), the $language global can be loaded into set fckeditor ui language.
//if ($conf['appearance_conf'] == 'f') {
$js .= "\n". $js_id .".ToolbarSet = \"". $toolbar ."\";
". $js_id .".Config['SkinPath'] = ". $js_id .".BasePath + \"editor/skins/". $conf['skin'] ."/\";
". $js_id .".Config['DefaultLanguage'] = \"". $conf['lang'] ."\";
". $js_id .".Config['AutoDetectLanguage'] = ". ($conf['auto_lang']=="t"?"true":"false") .";
". $js_id .".Height = \"". $height ."\";
". $js_id .".Config['ToolbarStartExpanded'] = ". ($conf['expand']=="t"?"true":"false") .";
". $js_id .".Width = \"". $width ."\";\n";
//}
http://api.drupal.org/api/global/language/6
Whenever I do ANYTHING to the fckeditor.module I get WSOD. Could/should something be done in fckeditor.config.js instead?
Advice appreciated.