2015-08-02, 20:12:05
(2015-08-01, 02:00:26)shawn_a Wrote: Here you go, your edit.php modification is not necessary., you can either inject your overrides directly.OK. I undestand - modify core files not best way.
Or provide a new custom config.js path, and use your own,customConfig: 'pathto/config.js'
PHP Code:if($GSEDITORBROWSER) {
$filebrowserBrowseUrl = "../plugins/responsivefilemanager/dialog.php?type=2&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserUploadUrl = "../plugins/responsivefilemanager/dialog.php?type=2&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserImageBrowseUrl = "../plugins/responsivefilemanager/dialog.php?type=1&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserWidth = $rfm_xml->w_width;
$filebrowserHeight = $rfm_xml->w_height;
// gsconfig GSEDITOROPTIONS is stored in global $EDOPTIONS, you can append whatever you want
GLOBAL $EDOPTIONS;
$EDOPTIONS .= ',
filebrowserImageBrowseUrl:"'.$filebrowserImageBrowseUrl.'"';
} else {
$toolbar_ins=0;
}
Thanks for your help with additional code.
I try to remake plugin integration logic according to your observation shortly.